bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] Re: adding once-only initialization to lock module


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: adding once-only initialization to lock module
Date: Tue, 26 Jul 2005 14:39:22 +0200
User-agent: KMail/1.5

Albert Chin wrote:
> I'd review this:
>   http://mailman.mit.edu/pipermail/kerberos/2005-May/007723.html
>
> It details how the weak referenced stubs in libc on some systems work
> with pthread_once().

Thanks for the info. Indeed, on Solaris and HP-UX 11, the libc and libpthread
both contain most of the pthread_* symbols. But only the ones in libpthread
actually allow creating threads. I have fixed this in the lock module
through a most costly pthread_in_use() macro.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]