[M3devel] thread local storage, but in C pieces of runtime... (jay, tony?)
Dragiša Durić
dragisha at m3w.org
Fri May 10 14:00:06 CEST 2013
It probably does… Because our interface to pthread specifics is surely not inlined, and sp hacks most probably are. Still, to access this C code, a procedure call is inserted… If sp hack is more efficient even after that, then we probably need to think about inserting such efficient handling into code we generate, in a way you inserted ChecLoadTraceRef..something :).
--
Dragiša Durić
dragisha at m3w.org
On Apr 30, 2013, at 9:21 AM, Tony Hosking wrote:
> I used to use pthread specifics but I think jay changed it to C. Not sure why unless compiler can generate more efficiently via sp hacks.
>
> Sent from my iPhone
>
> On 30/04/2013, at 3:42 PM, Dragiša Durić <dragisha at m3w.org> wrote:
>
>> Is there a specific reason why TLS is done through C, and not through pthread.(set|get)specific?
>>
>> dd
>>
>> --
>> Dragiša Durić
>> dragisha at m3w.org
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130510/1b3d9d90/attachment-0001.html>
More information about the M3devel
mailing list