mutexes (mutices?) and TLS
Mike Parker
aldacron at gmail.com
Tue Dec 3 00:50:28 PST 2013
On 12/3/2013 4:48 PM, eles wrote:
> On Tuesday, 3 December 2013 at 05:22:20 UTC, Shammah Chancellor wrote:
>> On 2013-12-02 16:44:24 +0000, Torje Digernes said:
>>
>>> On Monday, 2 December 2013 at 12:09:34 UTC, Artem Tarasov wrote:
>
>> used a global mutex -- I recently did the same thing. Knowing about
>> TLS though I declared it as __gshared on the first try
>
> why such an ugly name for this qualifier?
>
Because "here be dragons." __gshared offers no guarantees and no safety.
It shouldn't be used carelessly. It was made ugly intentionally.
More information about the Digitalmars-d
mailing list