Guys, Then if one was writing a multi-threaded C or C++ application in a MVS address space is it considered TCBs for each thread ?
Scott On Thursday, December 29, 2016, Peter Relson <rel...@us.ibm.com> wrote: > >:>>can there be multiple SRB's executing > >:>>the same piece code in the same address space > >... > >SRBs go to addresses and they do not care about the attributes of the > code. > >CALL doesn't care either. > > Binyamin is of course correct. It is entirely up to the coder to make sure > that the storage containing the code to be executed by the work unit does > not vanish from underneath them (as could happen if it was placed in > task-owned storage and that task was able to terminate before the SRB > terminated). And it is up to the coder to make sure that the code can > handle it. > > Peter Relson > z/OS Core Technology Design > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu <javascript:;> 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