On 2013-08-28 09:53, John McKown wrote:
And one thing to remember is that the main task, in the PAUSE/RESUME or
WAIT/POST must "poll" for communications from the subtask. I have not used
PAUSE/RELEASE, but it appears that, unlike WAIT/POST, the task doesn't have
a way to "poll" to see if something has sent a message. I.e. when the main
task does a PAUSE, it stops until something does a RELEASE or a TRANSFER.
This may or may not be acceptable.

The main task does not need to "poll" for communications from subtask(s) if it uses EVENTS WAIT=YES. When any of the ECBs it waits on are posted, the main task just needs to check which ECB(s) were POSTed and take the appropriate actions.

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to