[zeromq-dev] queue limits

Martin Sustrik sustrik at fastmq.com
Tue Sep 29 16:20:55 CEST 2009


> I forgot about bindings :-) You are right, adding set_watermarks() will 
> be simpler. I'll syncromize calls to create_queue/create_exchange/bind 
> by global mutex. There is no performance penalty, because in common 
> usecase all objects/bindings are created only at application start.

Goodo. Alternatively, you can make the new function member of 
app_thread_t - that one is used from a single thread so you'll do 
without synchronisation altogether.

Martin




More information about the zeromq-dev mailing list