[openamq-dev] concurrent call of amq_client_connection_new()

Jörg Fischer joerg.fischer at biologie.uni-freiburg.de
Wed Jan 30 13:06:06 CET 2008


Hi,

I've got a question concerning the function amq_client_connection_new().
In my multithreaded application two threads are started. Both of them call
amq_client_connection_new() simultaneously with different parameters.
Then the whole application hangs, probably a deadlock.

Do I have to restrict calls to amq_client_connection_new() such that only
one thread at a time can call it?

Thanks,

Joerg Fischer


More information about the openamq-dev mailing list