Chetan Sakhardande wrote:
> Does anyone knwo what is reentrant code?
It's code that can be suspended, and then called again from a
different context before the original call is resumed.
Code needs to be re-entrant if it is to be called from anywhere other
than the program's main thread of execution, e.g. from within a signal
handler or from another thread.
In general, code which modifies static data (global variables, or
local variables which are declared `static'), or which calls
non-reentrant functions, is likely to be non-reentrant.
--
Glynn Clements <[EMAIL PROTECTED]>