Just one more thing...

Sean Kelly sean at invisibleduck.org
Sun Feb 15 12:34:45 PST 2009


Jacob Carlborg wrote:
> Walter Bright wrote:
>> Now includes Mac OSX version!
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.040.zip
>>
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.025.zip
>>
>> Expect bugs. Thread local storage isn't working on OSX, neither are 
>> sockets and memory mapped files (for unknown reasons).
>>
>> Thanks to Sean Kelly for a lot of help on the runtime library with this.
> 
> For those how don't know what thread local storage is used for, is this 
> both D1 and D2 and what features can I expect not working because of 
> thread local storage.

TLS is only in D2, and I don't think any library code uses it. 
Basically, you can't declare "__thread" variables on OSX.  You *can* use 
the TLS in core.thread though (the ThreadLocal class, or 
Thread.get/setLocal).


Sean


More information about the Digitalmars-d-announce mailing list