<div dir="ltr">@Alvaro: The same code works perfect, if there are no pthread_mutex_lock.<div><br></div><div>Can Allan know anything about it.</div><div>@Alan Antonuk: Alan, do you have any issue in your library with regard to thread locks (pthread_mutex_lock) ?</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 17, 2013 at 12:26 AM, Alvaro Videla <span dir="ltr"><<a href="mailto:videlalvaro@gmail.com" target="_blank">videlalvaro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well, perhaps either your code or the AMQP library has that problem.<br>
RabbitMQ doesn't know anything about application specific code.<br>
<br>
On Mon, Dec 16, 2013 at 6:48 PM, Raj Kumar Sanpui<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:raj.kumar.sanpui@gmail.com">raj.kumar.sanpui@gmail.com</a>> wrote:<br>
> Seems like rabbitmq has an allergy towards thread locks.<br>
> Invoke a consumer thread (basic.consume) calling pthread_mutex_lock( ) and<br>
> all but one message gets dropped. Same works absolutely fine, if no thread<br>
> locks are used.<br>
><br>
><br>
> On Mon, Dec 16, 2013 at 11:22 PM, Michael Klishin <<a href="mailto:mklishin@gopivotal.com">mklishin@gopivotal.com</a>><br>
> wrote:<br>
>><br>
>> On 16 Dec 2013, at 21:47, Raj Kumar Sanpui <<a href="mailto:raj.kumar.sanpui@gmail.com">raj.kumar.sanpui@gmail.com</a>><br>
>> wrote:<br>
>><br>
>> > In between, do we have any man page for basic.consume?<br>
>> ><br>
>> > What does "no ack", "exclusive", "local" stands for?<br>
>><br>
>> Ignore local. Exclusive means that there can only ever be one consumer on<br>
>> the queue.<br>
>><br>
>> no ack means �no manual ack�, that is, you don�t intend to use manual<br>
>> acknowledgements of<br>
>> deliveries. See tutorial 2: <a href="http://www.rabbitmq.com/getstarted.html" target="_blank">http://www.rabbitmq.com/getstarted.html</a><br>
>> and <a href="http://www.rabbitmq.com/amqp-0-9-1-reference.html#domain.no-ack" target="_blank">http://www.rabbitmq.com/amqp-0-9-1-reference.html#domain.no-ack</a><br>
>><br>
>> MK<br>
>><br>
>> Software Engineer, Pivotal/RabbitMQ<br>
>><br>
>><br>
>> _______________________________________________<br>
>> rabbitmq-discuss mailing list<br>
>> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
>> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
><br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>