[rabbitmq-discuss] rabbitmq-c should I start a thread for amqp_simple_wait_frame() to get mesage?
alan.antonuk at gmail.com
Sat Jun 29 08:09:22 BST 2013
Could you describe at a high level what you're trying to do such that you
think you need to use a rabbitmq-c connection from multiple threads?
An example high-level use case might be to declare a queue, then start
consuming messages from that queue using a consumer.
A high level description can help us better understand what your needs are
and give you some suggestions on how to use rabbitmq-c.
On Thu, Jun 27, 2013 at 7:58 PM, 3k4b251 <314992959 at qq.com> wrote:
> amqp_simple_wait_frame() is a bloking function. I think I should
> a thread for it. But if I follow this, I need to share connection
> between threads, alanxz told me that's not safe,I also found it
> made other functions block. what should I do for this?
> View this message in context:
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss