Lexicon Entry
Reentrancy
An attribute of a function meaning it can be safely interrupted in the middle of its execution, and then safely called again (re-entered) before its previous invocations complete execution, without causing data corruption.
Related Knowledge & Cross-References
Guide
POSIX Signal Handling: Asynchronous Contexts and Reentrancy
Unpacking asynchronous execution contexts, async-signal-safe functions, and the hidden dangers of reentrancy that make printf and malloc unsafe inside a signal handler.