Multiple threads interacting with the reactor, since jetty (in my case) has a 
thread pool to service clients. Making register/unregister to be synchronzied 
or mutexed is an issue, I think, since to have that be usefull, I would have to 
use mutexes/synchronization in the polling loop. That is get a lock  before 
querying a socket (make sure it is not getting removed).

Mike.

On Feb 25, 2011, at 2:24 PM, Chuck Remes wrote:

> If you are using multiple threads to interact with your reactor, then you're 
> actually building something else. If you're worried about a race condition, 
> just make your calls to register/unregister synchronized or put your own 
> mutex/lock around them.

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to