[openamq-dev] Only a single thread may register signals.

Malinga malingajava at yahoo.com
Sun Dec 30 06:11:00 CET 2007


Hi,

    I have a code which will get more than one connection to the amq host. So then i can see a console message saying "Only a single thread may register signals." what is this actually. I have posed this query and i have been toled you are sharing connection as long as you not sharing you not getting this but i don't think Im sharing connection.

           icl_system_initialise(argc, argv);
                                                     
           icl_longstr_t* auth_data = amq_client_connection_auth_plain("guest", "guest");
           icl_longstr_t* auth_data_ = amq_client_connection_auth_plain("guest", "guest");
            
           amq_client_connection_t* connection = amq_client_connection_new (host, "/", auth_data, "sender", 0, 30000);
           amq_client_connection_t* connection_ = amq_client_connection_new (host, "/", auth_data_, "sender_", 0, 30000);

-Malinga






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20071229/625726b5/attachment.html 


More information about the openamq-dev mailing list