This is the mail archive of the
mailing list for the glibc project.
Re: pthreads, fork+exec, and deadlocks
* Ulrich Drepper <email@example.com> [030910 15:41]:
> Aidan Van Dyk wrote:
> > The particular problem I'm seeing is with syslog_lock.
> The standard doesn't guarantee that any functions but exec works after
> fork in a multi-threaded program.
Fair enough. I hadn't found that.
Digging finds mention of "async-signal-safe functions" in the POSIX docs
Is there a list of these functions for POSIX/glibc anywhere?
Aidan Van Dyk Create like a god,
firstname.lastname@example.org command like a king,
http://www.highrise.ca/ work like a slave.