|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQGET Wait infinite |
« View previous topic :: View next topic » |
Author |
Message
|
vjsony |
Posted: Mon Aug 05, 2002 10:23 pm Post subject: MQGET Wait infinite |
|
|
 Apprentice
Joined: 01 Aug 2001 Posts: 45
|
Hi,
Any idea how MQGET Wait infinite is implemented internally within MQSeries?
If we were to implement a similar function , how do we go about this?
Regards,
VJ. |
|
Back to top |
|
 |
bduncan |
Posted: Tue Aug 06, 2002 5:28 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
When you say a similar function, what do you mean? Something completely outside of MQSeries? _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
vjsony |
Posted: Tue Aug 06, 2002 5:48 am Post subject: |
|
|
 Apprentice
Joined: 01 Aug 2001 Posts: 45
|
Hi,
Any idea how is it done in the context of MQSeries?
My actual intention was to have a similar functionality outside the context of MQSeries. Any pointers??
Regards,
VJ |
|
Back to top |
|
 |
nanda_mq |
Posted: Tue Aug 06, 2002 6:01 am Post subject: |
|
|
Apprentice
Joined: 24 Jul 2001 Posts: 30 Location: INDIA
|
Hi ..
You can do this by using the multithreading concept in C. you have to use the threading in implementing this and have to use notify when ever u will receive some thing on that thread...
Just go through how to do multi threading...
Cheers,
Nanda |
|
Back to top |
|
 |
bduncan |
Posted: Tue Aug 06, 2002 9:52 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
It's somewhat analogous to socket programming. You can listen on a particular socket with timeout specified, or simply block forever waiting on some packets to come in. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|