Frage im Vorstellungsgespräch bei Bloomberg

What is difference between Reentrant and Thread Safe functions ?

Antworten zu Vorstellungsgespräch

Anonym

15. Mai 2009

No idea.

1

Anonym

5. Nov. 2011

Thread-safe simply means you can call the function from any number of threads without fear of corruption. Reentrant means a function can be safely called by the same thread recursively (directly or indirectly) without fear of corruption or deadlocking.

1