Posted: Wed Dec 17, 2003 10:28 pm Post subject: MQOPEN error
Voyager
Joined: 11 Jun 2003 Posts: 91
I am using simgle queue manager in multithreaded environment(c/c++).
I am using MQSeries 5.3 on Linux/Intel.
When two threads try to open two different queue using same queue manager object, I am getting MQRC_CALL_IN_PROGRESS error code 2219) for thread 2.
The error says "MQI call entered before previous call complete."
When you are using sharing connection for multiple threads then only one thread in specific time can work with it.
So you need to choose what mode you prefer. A second thread can get error and your program continues doing other things
or a second thread can be blocked and wait until the connection is available for it. _________________ Regards.
Leonid.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum