Lines Matching defs:fork
44 #pragma weak _fork = fork
89 * serialize calls to fork() and forkall(), but it also serializes calls
90 * to thr_suspend() and thr_continue() (because fork() and forkall() also
94 * call malloc() and free(). Such calls are not fork-safe when protected
101 * Within libc, calls to malloc() and free() are fork-safe if the calls
156 * We are a child of vfork(); omit all of the fork
159 * must never call fork().
176 * Cannot call fork() from a fork handler.
189 * If one of these pthread_atfork() functions attempts to fork
198 * Posix (SUSv3) requires fork() to be async-signal-safe.
199 * This cannot be made to happen with fork handlers in place
201 * any fork handlers if we are called within a signal context.
227 * locks are held while we invoke fork() from the current thread.
253 /* restart all threads that were suspended for fork() */
269 * fork() is fork1() for both Posix threads and Solaris threads.
273 #pragma weak fork1 = fork
275 fork(void)