What is the difference between a re-entrant function and a thread safe function?
+3
A:
Did you check the wiki article on the subject. It explains it pretty well IMO.
Brian Rasmussen
2010-02-17 06:52:52
+1
A:
Re-entrant means no global state (local only).
Thread safe means it is not possible for 2 (or more) threads to conflict with each other (by writing conflicting values).
Mitch Wheat
2010-02-17 06:54:35
but as Brian says, the wiki article explains it well...
Mitch Wheat
2010-02-17 06:55:19