home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!toddpw
- From: toddpw@cco.caltech.edu (Todd P. Whitesel)
- Newsgroups: comp.sys.apple2
- Subject: Re: re-entrant programs
- Date: 27 Dec 1992 09:24:20 GMT
- Organization: California Institute of Technology, Pasadena
- Lines: 17
- Message-ID: <1hjso4INN4gr@gap.caltech.edu>
- References: <BzIxqD.9Ln@griffin.cuc.ab.ca> <bazyar.724922247@teal>
- NNTP-Posting-Host: sandman.caltech.edu
-
- bazyar@teal.csn.org (Jawaid Bazyar) writes:
-
- > 're-entrant' means that more than one process may execute the program
- >at the same time. Usually the term is applied only to subroutines
- >of a program.. recursive subroutines are reentrant, and that should
- >give us a starting point.
-
- Nitpick time!! Recursion does not imply reentrancy. You can have a recursive
- routine that uses unarbitrated global data, which destroys its reentrancy.
-
- > As I mentioned above, recursive subroutines. Usually, program
- >segments that are reentrant store all variables on the CPU stack;
-
- "Usually" is right. I just didn't want to let that general statement get by.
-
- Todd Whitesel
- toddpw @ cco.caltech.edu
-