Re: GCIC Fullscreen applications
"mfnoel" <[email protected]>
| Newsgroups | gmane.comp.emulators.hercules390.vm |
|---|---|
| Message-ID | <[email protected]> |
I rely mostly on testing, but could you elaborate a bit on how reentrancy is a problem when recursion is OK? Want to know what to stay away from... --- In [email protected], "kerravon86" <kerravon86@...> wrote: > > --- In [email protected], "mfnoel" <mikenoel37@> wrote: > > > > KICKS is written almost entirely in GCCMVS, and many > > of it's routines are used recursively (meaning they > > call themselves, either directly or in some chain of > > calls). And it uses PCPCLIB all over the place > > (carefully!) including in the recursively called routines. > > Recursion isn't a problem so long as a sufficient > sized stack is available. > > Reentrancy is a problem though. PDPCLIB isn't > naturally reentrant (although the right contortions > could potentially do that - but that effort is > probably better spent creating the prelinker etc > that would force any program to be reentrant. > > BFN. Paul. >