[rabbitmq-discuss] Librabbitmq-c API

Alex P oleksandr.petrov at gmail.com
Fri Sep 2 17:59:16 BST 2011


Sorry for spamming, 

Just another thought, it'd be possible and very easy to create a 
method amqp_data_available that would tell us whether there's something on 
the socket before entering blocking call. This way it'll be possible to wait 
not inside of recv but inside of main loop, but i'm not sure how it would 
fit into the overall idea.

I sketched it, maybe you would find anything useful there.  
https://gist.github.com/1189157

Thanks again!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110902/5093f1e1/attachment.htm>


More information about the rabbitmq-discuss mailing list