On Mon, 8 Feb 2021 17:15:36 -0500, Steve Smith wrote: > >z/OS (and ancestors) already decided RENT means a module can be loaded into >non-modifiable storage, so what is the point of REFR anyway? > Not quite. A RENT module may modify itself provided that it serializes (Lock, ENQ, CS, ...) to protect against other threads. A REFR module can always be reloaded from a pristine DASD copy.
>And technically, a non-self-modifying program can be made non-reentrant... >I've seen it happen by accident. A "clever" programmer used a common >global area for a few non-global variables, leading to the >all-too-predictable unpredictable results when you screw up multi-tasking. > +1 -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
