Tried using PAIR sockets for IPC and ran into problems (https://github.com/WallStProg/zmqtests/tree/master/threads <https://github.com/WallStProg/zmqtests/tree/master/threads>, https://github.com/zeromq/libzmq/issues/2759 <https://github.com/zeromq/libzmq/issues/2759> ).
They have signficant limitations in any case. Why not use one of the thread-safe sockets? > On Dec 13, 2019, at 12:38 PM, Brett Viren <[email protected]> wrote: > > Bill Torpey <[email protected]> writes: > >> - In practice, it’s possible to share PUB sockets using mutexes if you’re >> careful. > > How about PAIR? Can I let one end be used from multiple different > threads if I assure all such access is protected by a mutex? > > I'll add this to my test but if there is some prior experience with this > setup, please let me know. > > Thanks! > -Brett.
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
