can someone please explain what a re-entrant function is?
you seem to stumble upon it sometimes and google wasn't too
helpfull
thanks
/btq
can someone please explain what a re-entrant function is?
you seem to stumble upon it sometimes and google wasn't too
helpfull
thanks
/btq
...viewlexx - julie lexx
Perhaps it's the same as recursive functions. Try searching for recursion.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
I doubt it,Perhaps it's the same as recursive functions. Try searching for recursion.
I think it has something to do with multiple threads or processes being able to call the same function simultaneously..
but thanks anyways
/btq
...viewlexx - julie lexx
right out of the MSDN-reference...reentrant code:
Code written so that it can be shared by several applications or threads within a single process simultaneously. When code is reentrant, one thread can safely interrupt the execution of another thread, execute its own code, and then return control to the first thread in such a way that the first thread does not fail or behave in an unexpected way.
ahh man!
but still: what properties makes a function reentrant ?
that it only uses stack variables and no static data ?
/btq
Last edited by btq; 11-18-2002 at 05:20 AM.
...viewlexx - julie lexx