Subject: Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x
To: None <email@example.com>
From: Joerg Sonnenberger <firstname.lastname@example.org>
Date: 10/27/2005 16:20:13
On Thu, Oct 27, 2005 at 02:40:38PM +0200, Martin Husemann wrote:
> I suppose with TLS you mean the funny attribute stuff that newer gcc's do?
__thread from ISO C99. Yeah, starting with 3.4 I think GCC supports
it. What has to be added is supporting in rtld, libc and libpthread. I
can provide the necessary support for the latter two. For rtld I have to
understand NetBSD's linker first.
> Of course NetBSD supports pthread_key_create(), pthread_setspecific()
> and pthread_getspecific().
Sure, but the interface is more clumsy than TLS :-)