On 18. 01. 14 04:10, serega wrote:
Thanks for the answer. Yes, I do have thread safe queue, so I might just
follow your suggestion and set up a reverse queue for trackers.
If you care about latency this may not be enough because the thread
owning the
messenger will only be able to observe the
Thanks for the answer. Yes, I do have thread safe queue, so I might just
follow your suggestion and set up a reverse queue for trackers.
Sergey.
--
View this message in context:
http://qpid.2158936.n2.nabble.com/call-pn-messenger-accept-from-another-thread-tp7602918p7602948.html
Sent from the
You would need a mutex protecting the messenger object in order to safely
call pn_messenger_accept from another thread. You can do it, but it would
likely run into complications since the messenger thread would need to hold
the mutex while blocking.
I'm guessing if you are processing messag
There are several discussions on this forum regarding multi-threading, and as
I understand messenger isn't thread safe. However, my use case is simple.
A single thread receives messages, but message processing is handed over to
another thread
Is it possible to call pn_messenger_accept(messenger,