Could someone tell me what code can be called \"re-entrant\" code?
I came across this word when reading some real time operating system. What disciplines must be st
Can another thread call the code while a first thread is in the middle of running it? If the code yields to a callback function, can the callback function itself call the code before the first runthrough has completed?
If the code uses global vars that aren't locked down, or has its own static vars that it doesn't take special precautions with, any of those scenarios might break it.