> A reentrant program is one that can be run by multiple *tasks*
> at the same time.  It is NOT defined as one that can be used
> by multiple *address spaces* at the same time.
> 
> If you can find any two tasks that can not use a program at
> the same time, then that program is NOT reentrant.

Oh dear, the thread that will never die.

As far as MVS (Binder and Contents) is concerned, "reentrant" only means
that the code does not modify itself. Period.

Yes of course it is possible for smart-asses to produce contrived
examples where a program can modify itself AND exhibit correct behavior
when used concurrently by more than one task, but that is not the point
at all.

The issue of whether a program behaves correctly when used concurrently
by more than one task is orthogonal - at least as far as MVS is
concerned - to whether that program is reentrant. 

Now can we give this poor ex-equine a decent burial?

CC

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

Reply via email to