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
On Mon, Jul 18, 2005 at 09:54:36PM +0200, Bruno Haible wrote:
> Libraries that need to protect shared datastructures with locks also often
> need once-only initializations. And conversely, all programs that need
> thread-safe once-only initialization also need locking.
>
> So I've added support fo
Hi,
Libraries that need to protect shared datastructures with locks also often
need once-only initializations. And conversely, all programs that need
thread-safe once-only initialization also need locking.
So I've added support for once-only execution (à la pthread_once) to
lock.h and lock.c.
Br