]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert the previous change to pthread_once() stub in libc. It is actually
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 20 Nov 2009 20:43:34 +0000 (20:43 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 20 Nov 2009 20:43:34 +0000 (20:43 +0000)
commit4e1fc19cea9ad7087c5a6ab16b7c7bcf28e2120d
tree3fedaf844c829871fe1603222e4889335460a3a6
parented848e3a0246d6a06c4aa9e94ad52fe25808021e
Revert the previous change to pthread_once() stub in libc.  It is actually
a feature that libstdc++ depends on to simulate the behavior of libc's
internal '__isthreaded' variable.  One benefit of this is that _libc_once()
is now private to _once_stub.c.

Requested by: kan
lib/libc/gen/_once_stub.c
lib/libc/gen/_pthread_stubs.c
lib/libc/include/libc_private.h