Subject: Re: Threading problems
To: Nathan J. Williams <>
From: Eric Haszlakiewicz <>
List: tech-kern
Date: 11/24/2004 23:14:54
On Wed, Nov 24, 2004 at 11:44:32PM -0500, Nathan J. Williams wrote:
> Restating, in pthread.h:
> #define pthread_mutex_lock(x)	__libc_mutex_lock(x)
> #define pthread_mutex_unlock(x)	__libc_mutex_unlock(x)
> and so on. Notably, no such #define for pthread_create().

	duh!  that _is_ pretty obvious once you mention it.  And all that
needs to change is the header file.  cool.
With that change fixing the packages is a matter of getting gcc to
omit the -lpthread when linking.  easy! :-)