@property - take it behind the woodshed and shoot it?

Walter Bright newshound2 at digitalmars.com
Fri Jan 25 23:25:03 PST 2013


On 1/25/2013 10:06 PM, Mehrdad wrote:
> Walter, that's not how TLS variables are generally implemented in C/C++.

Since I implemented them, I know how they work.

> They're *normal* variables, placed in a special section of the executable, which
> is automatically switched in and out on every context switch by the OS.

This is not necessarily true at all. It isn't for OSX, for example, and there's 
nothing in the semantics of TLS which preclude calling a function.



More information about the Digitalmars-d mailing list