On Mon, Feb 6, 2012 at 5:16 PM, Martin Lucina <[email protected]> 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
consider?
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to