This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pthreads, fork+exec, and deadlocks
* Ulrich Drepper <drepper@redhat.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
on opengroup.org.
Is there a list of these functions for POSIX/glibc anywhere?
Thanks,
a.
--
Aidan Van Dyk Create like a god,
aidan@highrise.ca command like a king,
http://www.highrise.ca/ work like a slave.