Subject: Re: Native thread support
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-x11
Date: 01/18/2003 14:29:22
On Sat, Jan 18, 2003 at 12:11:25PM -0500, Nathan J. Williams wrote:

 > This may be a good reason to have libc export it's dummy pthread
 > stubs, so that X11 can link against it and libpthread isn't actually
 > pulled in unless a program is really threaded.

Yah, that's a good idea.  We could just use the exiting _'d names, and
expose them from <thr.h> or something ... But we need to some up with
something intelligent for the _thr_once() routine to do, etc.  Right now
it bombs if __isthreaded == 0.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>