[zeromq-dev] Thread Safe sockets

Nadav Samet thesamet at gmail.com
Tue Feb 7 09:41:59 CET 2012

On Mon, Feb 6, 2012 at 5:16 PM, Martin Lucina <martin at lucina.net> wrote:
> 1) IMHO callbacks are evil and in 90% of cases should be
> eradicated :-) Of course if you've got a huge legacy code base then
> you're stuck with 'em, so it's a valid use case.

I'm not sure I follow, what's evil about callbacks? In particular, I am
working on an RPC library on top of ZeroMQ. It spawns n threads, and
whenever a request arrives it runs a user-supplied function (i.e. callback)
on one of these threads. Are there alternative designs that I should
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120207/18106791/attachment.htm>

More information about the zeromq-dev mailing list