summaryrefslogtreecommitdiff
path: root/src/thread/pthread_atfork.c
AgeCommit message (Collapse)AuthorLines
2011-02-18add pthread_atfork interfaceRich Felker-0/+48
note that this presently does not handle consistency of the libc's own global state during forking. as per POSIX 2008, if the parent process was threaded, the child process may only call async-signal-safe functions until one of the exec-family functions is called, so the current behavior is believed to be conformant even if non-ideal. it may be improved at some later time.