[zeromq-dev] thread safety using inproc sockets for inter-thread communication
Wes Young
wes at barely3am.com
Fri Sep 29 13:39:02 CEST 2017
[i’m only able to skim this atm but..]
have you looked at how zauth works in czmq (using the actor models):
https://github.com/zeromq/czmq/blob/master/src/zauth.c
https://rfc.zeromq.org/spec:27/ZAP/
it sounds similar [at-least as an example], or at-least any of the “actors” in zeromq kinda work.. (although sounds like zauth is the closest because it’s inproc).
may not be 1-1 but at-least some more up to date examples..
> On Sep 27, 2017, at 5:52 PM, Bill Torpey <wallstprog at gmail.com> wrote:
>
>
> Can anyone suggest a solution? I can’t really see any other way to do inter-thread communication safely with ZeroMQ.
>
> Any hints, tips, suggestions would be much appreciated! And, let me know if this would be better discussed in GitHub issues.
--
wes
wesyoung.me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170929/128d2a16/attachment.sig>
More information about the zeromq-dev
mailing list