On Wed, Feb 17, 2010 at 5:26 PM, Birdsall, Dave <[email protected]> wrote: > Hi, > > I am writing multi-threaded applications in C++ using pthreads and the Qpid > client library. > > What sorts of interactions does Qpid have with pthreads? Is the Qpid client > library thread-safe?
> Is it possible to do all receives on one thread and sends on other threads? > Any gotchas? It's certainly possible to receive and send using different threads on a single session. For receiving you could create a thread and call SubscriptionManager::run() on it. As for gotchas I will leave it for Gordon to answer that as he's the expert on the c++ client side. > Thanks and regards, > > Dave Birdsall > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > -- Regards, Rajith Attapattu Red Hat http://rajith.2rlabs.com/ --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
