Re-entrant Functions
A function can be called simultaneously be different processes
Recursive functions must be re-entrant
Functions called by interrupt code and non-interrupt code must be re-entrant
Keil C functions by default are not re-entrant
- Does not use the stack for everything
- Use the reentrant specifier to make a function re-entrantint calc (char i, int b) reentrant { int x; x = table[i]; return (x * b);}