Currently the thread safe sockets doesn't support polling on multiple sockets as stated in the PR:
https://github.com/zeromq/libzmq/pull/1349 I'm planning to solve that by epoll like API where you create a poll and then add sockets to it. The poll type will create a file descriptor that will be added to each of the associated thread safe sockets. The mailbox_safe type already ( https://github.com/zeromq/libzmq/blob/master/src/mailbox_safe.hpp) have a method called add signaler which is actually a file descriptor. On Sat, Feb 21, 2015 at 5:27 PM, Thomas Rodgers <[email protected]> wrote: > It looks like the recently added code for supporting thread safe sockets > does not support returning the signalling FD for a socket that is marked > "thread safe". How would these socket types be used in a polling reactor > then? > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
