On Thursday, 23 January 2014 at 14:44:01 UTC, Frustrated wrote: > Functions generally are not thread safe because of reentry, > right? No. They are not thread safe because they use shared data (explicitly/implicitly). Functions that only use thread-local data are always thread-safe.