bug-gnulib
[Top][All Lists]
Advanced

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

Re: adding once-only initialization to lock module


From: Albert Chin
Subject: Re: adding once-only initialization to lock module
Date: Tue, 19 Jul 2005 13:02:44 -0500
User-agent: Mutt/1.5.6i

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 for once-only execution (? la pthread_once) to
> lock.h and lock.c.

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().

-- 
albert chin (address@hidden)




reply via email to

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