DMD-MAC!!

Sean Kelly sean at invisibleduck.org
Thu Jan 29 08:35:59 PST 2009


Jacob Carlborg wrote:
> Michel Fortin wrote:
>> On 2009-01-28 13:02:22 -0500, BCS <none at anon.com> said:
>>
>>>
>>> http://dobbscodetalk.com/index.php?option=com_content&task=view&id=1015&Itemid= 
>>>
>>
>> Interesting. From the last comment from Walter at the bottom:
>>
>>> But the Mach-O has no such special sections.
>>>
>>> I think I've found a way to do it, but it would be better if the mac 
>>> was fixed to handle that like other systems do.
>>
>> I wonder what's that way of doing it.
> 
> I think that mac can do this using function calls, but I can't find the 
> man page right now.

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 other OSes.


Sean


More information about the Digitalmars-d-announce mailing list