Subject: Re: Thread implementation with TLS support?
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 03/11/2005 22:09:53
On Fri, Mar 11, 2005 at 04:01:17PM -0500, Matthew Mondor wrote:
> NetBSD libpthread however does support POSIX standard
> pthread_key_create(3), pthread_key_delete(3), pthread_setspecific(3) and
> pthread_getspecific(3), this latter being a cheap and fast call, and
> should be the best bet to use for portability.  Unfortunately, if the
> application you're trying to port does not use these, it'll require
> modifications at current time.

The problem is that some brain-damaged APIs like to use TLS.
From the programmers point of view, using them is also much easier.

Joerg