pthreads, fork+exec, and deadlocks
Aidan Van Dyk
aidan@highrise.ca
Wed Sep 10 19:58:00 GMT 2003
* 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.
More information about the Libc-alpha
mailing list