TLF = thread local functions

Dicebot public at dicebot.lv
Thu Jan 23 06:49:10 PST 2014


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.


More information about the Digitalmars-d-learn mailing list