On 8/09/2011 4:03 AM, Paul Gilmartin wrote:
On Wed, 7 Sep 2011 12:15:33 -0500, McKown, John wrote:

Use POSIX threading instead of ATTACH? The semantics seem to be different in 
that there is no parent-child relationship.

I had thought z/OS implements threads as tasks, so fork() would be needed
to let the child outlive the parent.  OTOH, if z/OS makes threads tasks, but
all with the surrogate parent John G. suggested, it might avoid the problem.


IIRC, POSIX threads all run as MVS subtasks of the IPT (Initial Pthread-creating Task), which is usually main. If the IPT terminates
then so do all it's child threads.



-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to