Subject: Re: Threading problems
To: Nathan J. Williams <>
From: Todd Vierling <>
List: tech-pkg
Date: 11/23/2004 23:34:57
On Tue, 23 Nov 2004, Nathan J. Williams wrote:

> Thinking about this more, a better answer might be for <pthread.h> to
> #define pthread_mutex_lock(x) to __libc_mutex_lock(x), so that ~all
> code that is written to use locking routines from pthread.h will go
> through the libc redirection by default,

You know, I was thinking about this today and was going to ask precisely
this question.  (And isn't this what Solaris does/did, at least with the old
libthread if not libpthread?)

-- Todd Vierling <> <>