Yes.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Joe Monk <joemon...@gmail.com> Sent: Sunday, August 9, 2020 2:19 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EC6 ABEND with X'00FFCE54' in R15 "I wonder what's so special about TSO?" TSO in batch or TSO Interactive? But either way, doesnt TSO normally spin off subtasks with an ATTACH/ATTACHX? Joe On Sun, Aug 9, 2020 at 11:01 AM Thomas David Rivers <riv...@dignus.com> wrote: > Joe Monk wrote: > > >Umm... dont you maintain a table of your pthreads? Like storing off their > >ids somewhere? > > > >If not maybe you should? Then you can have a routine in your exit that > >kills off the pthreads from the table using their id > >before you exit... > > > >Joe > > > >O > > > Yeah - but how do you kill a pthread? You can send it a signal > or a cancel, but if it's not in a "good place" it won't act on those... > and you have no way of knowing if it's dead-or-alive. > > And - there is another chicken-and-egg problem - what if one of > the pthreads is the one invoking BPX _exit()? What kills the > other pthreads? > > This 'feels like' it's better handled as an OS function... not an > application one. > And, I think, in any environment except TSO it is done that way, I wonder > what's so special about TSO? > > > - Dave > > -- > riv...@dignus.com Work: (919) 676-0847 > Get your mainframe programming tools at > http://secure-web.cisco.com/1hYKBJSOVMPQGt4IhJZFf3IT_kINaH5nxUsHWX4TALT51ALZTzZIEkhcPKSZhgeZ7-yh0KRwkvcywuEheaP3uK5g7I-2lSo-Hp3UeITdUP716TxrwMGGXtzHtjN4mHQJfqTVOXaeVxk9MPFpBnxlQM2lH-dR1TnL8Qh2k_cjIcg-IGH-TaDWjQi57BXTZqnBWF01M1osKTyAhmYkTAhH353nS7i40h41izxjGeDTtGyc56PXvLg9lcg2dcxMsGrg1CrRMI5keNYenwwIM0mEaJwhClm9JREPHUYZ4A6DzTEF8GsEyhmNqjAJ2c9E_uFKPZpJn6WE41WxNQ-Kb5jVaWaoLA_kw0CorHFdPXxZe7M2IEHjFkKH0AKKUXul1Kb_qJKyxmk08QYKC943YbXqjcA4JNCF-Hp3odNm0xkycBID1cExKpV5Aubxag_N8nU0S/http%3A%2F%2Fwww.dignus.com > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN