Subject: Re: ThreadedX patch, take 2
To: Matthias Scheler <tron@zhadum.de>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 01/20/2003 08:10:35
On Mon, Jan 20, 2003 at 02:42:41PM +0100, Matthias Scheler wrote:
> Why is this change needed? I got threaded X11 without it. After the
> threads stubs are available in "libc" it should be enough to remove
> the "-lpthread" and to enable threading by default again.
No, the thread stubs in libc do not have the "pthread_" names. Instead
we provide another set of function names which are either do-nothing
(or do-little) stubs, or which are redirected to the real thread library
when it is linked in. Sort of like the TIS functions on OSF/1.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>