Searched refs:pthread_atfork (Results 1 - 11 of 11) sorted by relevance

/haiku-fatelf/src/system/libroot/posix/pthread/
H A Dpthread_atfork.c12 pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) function
/haiku-fatelf/src/libs/posix_error_mapper/
H A Dpthread_misc.cpp11 WRAPPER_FUNCTION(int, pthread_atfork,
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/
H A D2-2.c24 * -> Try all NULL / non NULL combinations (7) of pthread_atfork parameters.
86 /* pthread_atfork handlers */
240 ret = pthread_atfork( NULL, NULL, NULL );
247 ret = pthread_atfork( p1, NULL, NULL );
254 ret = pthread_atfork( NULL, pa2, NULL );
261 ret = pthread_atfork( NULL, NULL, c3 );
268 ret = pthread_atfork( p4, pa4, NULL );
275 ret = pthread_atfork( p5, NULL, c5 );
282 ret = pthread_atfork( NULL, pa6, c6 );
H A D2-1.c8 * int pthread_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void))
14 * 1. Call pthread_atfork() with all NULL paramters
35 ret = pthread_atfork(NULL, NULL, NULL);
H A D4-1.c20 * When pthread_atfork is called several times, the prepare handlers are executed
89 /* pthread_atfork handlers */
240 ret = pthread_atfork( pre1, par1, chi1 );
247 ret = pthread_atfork( pre2, par2, chi2 );
254 ret = pthread_atfork( pre3, par3, chi3 );
H A D1-1.c8 * int pthread_atfork(void (*prepare) (void), void (*parent) (void), void (*child) (void))
17 * 1. Call pthread_atfork() before a fork() call, setting all three fork handlers for
69 if(pthread_atfork(prepare_handler, parent_handler, child_handler) != 0)
71 printf("Error in pthread_atfork\n");
H A D1-2.c20 * pthread_atfork registers the 'prepare' handler to be called before fork()
23 * pthread_atfork registers the 'parent' handler to be called after fork()
26 * pthread_atfork registers the 'child' handler to be called after fork()
32 * -> Call pthread_atfork from the main thread.
212 ret = pthread_atfork( prepare, parent, child );
H A D3-2.c86 /* pthread_atfork handlers */
203 ret = pthread_atfork( prepare, parent, child );
H A D3-3.c23 * -> kill a thread which calls pthread_atfork
203 ret = pthread_atfork( prepare, parent, child );
/haiku-fatelf/headers/posix/
H A Dpthread.h165 extern int pthread_atfork(void (*prepare)(void), void (*parent)(void),
/haiku-fatelf/src/bin/coreutils/
H A Dconfigure[all...]

Completed in 187 milliseconds