reentrant
Computing term describing a program or function that can be safely called again before a previous invocation completes, often used in multi-threaded or interrupt-driven contexts.
This function is reentrant, so it can be safely called from an interrupt.
To write reentrant code, you need to avoid using static variables.