L4Re: Thread local storage

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Dec 21 21:31:31 CET 2010


Hi,

On Tue Dec 21, 2010 at 21:03:39 +0200, Taru Karttunen wrote:
> __thread int i;
> 
> How should TLS initialization be done? This is with
> L4_MULTITHREADED = y
> 
> So how to get this working?

__thread isn't currently working, as it's not supported by the uclibc
backend version we're currently using. Changing this is a bit a of
surgery but needs to be done I guess.

> ps. I have a rudimentary port of gccgo on L4Re working, 
> and am polishing it over the holidays.

Cool!



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list