I think I remember reading something about input and output file handles
preventing code from being re-entrant. Is this indeed the case? Perhaps you
would post an example "Hello, world." program as an example that would compile
to resident code that would run from either WorkBench or CLI ??
-cdm
Chuck,
There is nothing about file handles that inherently makes a program
nonreentrant.
There could be problems if, for example, a program tries to open a specific
filename in exclusive mode while another incarnation of the same program has
that file already open.
Sorry, but I don't write C well, and haven't written anything that would be
run from the WB. I described the different types of program in non language
specific terms for exactly that reason.
-larry