| /src/lib/libc/gen/ |
| pthread_atfork.c | 1 /* $NetBSD: pthread_atfork.c,v 1.28 2025/05/06 23:18:27 riastradh Exp $ */ 34 __RCSID("$NetBSD: pthread_atfork.c,v 1.28 2025/05/06 23:18:27 riastradh Exp $"); 52 __weak_alias(pthread_atfork, _pthread_atfork) 88 * can also call pthread_atfork() from their own constructors, so this is not 100 * write-locked by pthread_atfork() and read-locked by fork(), but 169 pthread_atfork(void (*prepare)(void), void (*parent)(void), function 291 * too, since the intended use of pthread_atfork() is
|
| Makefile.inc | 27 posix_spawn_fileactions.c posix_spawnp.c psignal.c pthread_atfork.c \ 84 psignal.3 pwcache.3 pthread_atfork.3 \
|
| arc4random.c | 650 * Set up a pthread_atfork handler to lock the global state 657 if (pthread_atfork(&arc4random_atfork_prepare, 700 * on-stack PRNG, in the unlikely event that pthread_atfork
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/ |
| threads_pthread.c | 188 pthread_atfork(OPENSSL_fork_prepare,
|
| /src/external/lgpl2/userspace-rcu/dist/tests/regression/ |
| test_urcu_fork.c | 159 /* pthread_atfork does not work with malloc/free in callbacks */ 160 ret = pthread_atfork(call_rcu_before_fork, 165 perror("pthread_atfork");
|
| /src/external/cddl/osnet/dist/lib/libuutil/common/ |
| uu_misc.c | 250 (void) pthread_atfork(uu_lockup, uu_release, uu_release_child);
|
| /src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| lsan_interceptors.cpp | 398 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), 401 // REAL(pthread_atfork) cannot be called due to symbol indirections at least 405 #define LSAN_MAYBE_INTERCEPT_PTHREAD_ATFORK INTERCEPT_FUNCTION(pthread_atfork)
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
| lsan_interceptors.cpp | 394 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), 397 // REAL(pthread_atfork) cannot be called due to symbol indirections at least 401 #define LSAN_MAYBE_INTERCEPT_PTHREAD_ATFORK INTERCEPT_FUNCTION(pthread_atfork)
|
| /src/include/ |
| unistd.h | 219 int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));
|
| /src/lib/libpthread/ |
| pthread_tsd.c | 93 * This pthread_atfork() call will not call malloc, since it 96 pthread_atfork(pthread_tsd_prefork, pthread_tsd_postfork,
|
| pthread.h | 46 int pthread_atfork(void (*)(void), void (*)(void), void (*)(void));
|
| pthread.c | 303 pthread_atfork(pthread__prefork, pthread__fork_parent, pthread__fork_child);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_interceptors.cpp | 597 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), 602 // REAL(pthread_atfork) cannot be called due to symbol indirections at least 696 ASAN_INTERCEPT_FUNC(pthread_atfork);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/hwasan/ |
| hwasan_linux.cpp | 442 pthread_atfork(before, after, after);
|
| /src/external/mit/libuv/dist/src/ |
| threadpool.c | 259 if (pthread_atfork(NULL, NULL, &reset_once))
|
| /src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
| hwasan_linux.cpp | 548 pthread_atfork(before, after, after);
|
| /src/external/mit/libuv/dist/src/unix/ |
| os390-syscalls.c | 208 if (pthread_atfork(&before_fork, &after_fork, &child_fork))
|
| signal.c | 67 /* pthread_atfork can register before and after handlers, one 73 if (pthread_atfork(NULL, NULL, &uv__signal_global_reinit))
|
| /src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| asan_interceptors.cpp | 756 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(), 761 // REAL(pthread_atfork) cannot be called due to symbol indirections at least 874 ASAN_INTERCEPT_FUNC(pthread_atfork);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| pthread.d | 57 int pthread_atfork(void function(), void function(), void function()); 443 int pthread_atfork(void function(), void function(), void function()); 445 int pthread_atfork(void function() @nogc, void function() @nogc, void function() @nogc);
|
| /src/lib/libc/include/ |
| namespace.h | 576 #define pthread_atfork _pthread_atfork macro
|
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_interceptors_posix.cpp | 92 extern "C" int pthread_atfork(void (*prepare)(void), void (*parent)(void), 3028 if (pthread_atfork(atfork_prepare, atfork_parent, atfork_child)) {
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/thread/ |
| osthread.d | 2131 pthread_atfork(null, null, &initChildAfterFork);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_interceptors_posix.cpp | 85 extern "C" int pthread_atfork(void (*prepare)(void), void (*parent)(void), 2907 if (pthread_atfork(atfork_prepare, atfork_parent, atfork_child)) {
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| jemalloc.c | 1386 /* LinuxThreads' pthread_atfork() allocates. */ 1387 if (pthread_atfork(jemalloc_prefork, jemalloc_postfork_parent, 1389 malloc_write("<jemalloc>: Error in pthread_atfork()\n"); 3209 * initialization using pthread_atfork(), but of course that does no good if
|