[rabbitmq-discuss] rabbitmq-c should I start a thread for amqp_simple_wait_frame() to get mesage?
alan.antonuk at gmail.com
Wed Jul 3 18:22:56 BST 2013
You need to use a lock of some sort. A mutex will work in this case.
On Tue, Jul 2, 2013 at 11:46 PM, 3k4b251 <314992959 at qq.com> wrote:
> thank you so much ! I think I already read this :
> and I put the codes in my program。 I think I can use
> amqp_simple_wait_frame() and amqp_basic_consume() in diffrent
> But I still can not use them in same time. what can I do to
> keep amqp_simple_wait_frame() and amqp_basic_consume() not to be used
> same time in diffrent threads?
> 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