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 ([EMAIL PROTECTED]) _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib