[Mono-devel-list] TLS: normal versus __thread

Michael Rasmussen mir at miras.org
Thu Mar 24 11:05:06 EST 2005


Hi Zoltan,

tor, 24 03 2005 kl. 15:33 +0100, skrev Zoltan Varga:
>   --with-tls=__thread causes the runtime to use variables declared as __thread
> for thread-local storage. This is known to not work under older kernels/glibc
> versions etc. This is why it is not turned on by default :).
> 
Does this in fact mean that compiling with --with-tls=__thread enforces
thread safety in the JIT compiler?

It this is the case why not let Mono.Posix.Syscall depend on having this
option enabled at compile time? It seems to assure that fork works as
expected.

Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael  rasmussen  cc
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xD3C9A00E
mir  datanom  net
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE501F51C
mir  miras  org
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
I want to die in my sleep like my grandfather... Not screaming and
yelling
like the passengers in his bus.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dette er en digitalt underskrevet brevdel
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050324/002ad2aa/attachment.bin 


More information about the Mono-devel-list mailing list