[Mono-devel-list] tls_model ("local-exec")
Paolo Molaro
lupus at ximian.com
Mon May 24 05:00:12 EDT 2004
On 05/23/04 Ben Maurer wrote:
> #ifdef HAVE_KW_THREAD
> -static __thread gpointer mono_lmf_addr;
> +static __thread __attribute__ ((tls_model ("local-exec"))) gpointer mono_lmf_addr;
> #endif
>
> static gpointer
>
> It seems taht __thread is using some other storage model by default on
> my box. I am running rh9. Should this patch be applied, or is something
> else going on?
local-exec is only valid for executables, so your change looks incorrect.
There is an item in my todo list for a long time: change the build so
that mono is built as a binary with a static libmono built in: this way
we (and gcc) can use more optimizations like the above.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list