[openamq-dev] Multi-threaded connection requests fail?

Pieter Hintjens ph at imatix.com
Thu Nov 8 13:05:55 CET 2007


On Nov 6, 2007 9:07 PM, Elli Barasch <comptonsw at comcast.net> wrote:

> In V1.2-c4 on Ubuntu Linux, I'm having difficulty getting
> amq_client_connection_new to return a non-zero connection value when
> built in a multi-threaded environment.  The exact same call works just
> fine if I build in single-threaded environment.  Any ideas?

Could you provide a minimal stripped-down example that demonstrates the problem?

Presumably the simple test clients - such as amq_client.c and the PAL
test scripts - work.  So, your application is doing something else
that is getting in the way of the OpenAMQ threading.  I'd hesitate to
guess what this is... but by stripping down your test case you may
discover it.  Otherwise we will happily debug this minimal test case.

-
Pieter Hintjens
iMatix


More information about the openamq-dev mailing list