Am 20.06.2017 um 13:12 schrieb Don Poitras:
Not if you compile RENT. In that case the static is allocated in a separate
area rather than being inside the load module.

and: every invocation of the module from potentially parallel
LE enclaves (for example, when used inside a DB2 stored proc environment)
get its own instance of the WSA = writable storage area, that is,
its own set of static variables. This is not true for the NORENT case,
when the static variables are part of the module's CSECT.


In article <32db4b0b-1271-18b1-574c-9cb6a37a2...@gmail.com> you wrote:
If the string can be mutated either by the client or the runtime
returning by reference is not re-entrant.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to