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

Zoltan Varga vargaz at gmail.com
Thu Mar 24 09:33:11 EST 2005


                                                 Hi,

  --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 :).

                          Zoltan

On Thu, 24 Mar 2005 00:02:27 +0100, Michael Rasmussen <mir at miras.org> wrote:
> Hi list,
> 
> Someone here knowing the difference between having Mono compiled with
> these options:
> 
> Self compiled under Debian Sid
> Mono JIT compiler version 1.1.4, (C) 2002-2004 Novell, Inc and
> Contributors. www.go-mono.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV      : normal
>         Globalization: none
> 
> Version compiled for Suse 9.2 or Fedora Core
> Mono JIT compiler version 1.1.4,
>        TLS:           normal
>        GC:            Included Boehm (with typed GC)
>        SIGSEGV      : normal
>        Globalization: none
> 
> It apparently seems to course problems when using Mono.Posix.fork.
> My self compiled version under Debian runs flawlessly while giving these
> errors under Fedora Core and Suse:
> 
> ** (svc.exe:670): WARNING **: : bogus daemon response, type 1
> 
> ** ERROR **: file handles.c: line 634 (_wapi_handle_ref): should not be
> reached
> aborting...
> Aborted
> [root at colinux MyProjects]#
> ** (svc.exe:674): WARNING **: : bogus daemon response, type 2
> 
> ** ERROR **: file handles.c: line 353 (_wapi_handle_new): should not be
> reached
> aborting...
> 
> 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
> --------------------------------------------------------------
> printk(KERN_WARNING MYNAM ": (time to go bang on somebodies door)n");
> linux-2.6.6/drivers/message/fusion/mptctl.c
> 
> 
>



More information about the Mono-devel-list mailing list