On 2009-01-29 23:19:25 +0100, Walter Bright newshou...@digitalmars.com said:
Sean Kelly wrote:
There are pthread calls for TLS which are implemented for OSX. But
however it works (I haven't looked into it), it likely isn't as
efficient or easy to deal with as the __thread storage class on
Fawzi Mohamed wrote:
Encouraging wide use of TSL is bad in my opinion (not that you are doing
it, but one might interpret it like that).
If decent support for TLS is not there, then programmers will use
regular global data instead, which comes with a whole raft of threading
problems.