[zeromq-dev] How to send messages from multithreaded eventhandlers with clrzmq2
Martin Sustrik
sustrik at 250bpm.com
Sun Jul 10 13:46:37 CEST 2011
On 07/10/2011 01:23 PM, Djordje Djokovic wrote:
> I am using C# and clrzmq2 and have an application that is connected to
> multiple event handlers that can be instantiated from multiple
> threads. Since I read that the socket is not threadsafe what would be
> the best way to send these messages forward? Do I need a new socket
> for each eventhandler?
Yes. Create a socket for each handler.
Martin
More information about the zeromq-dev
mailing list