Strange pthread_atfork() behavior
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Mar 18 09:58:00 GMT 2008
On Mar 17 22:48, Alon Bar-Lev wrote:
> When running under cygwin the exec program runs after about 60 seconds.
> The following is the output:
>
> __atfork_prepare
> __atfork_parent
> before sleep
> __atfork_child
> after sleep
> <parent is not running anymore>
> <wait about 60 seconds>
> 56 [main] a 2952 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0 at child
> <child output>
>
> Any clue?
Looks like a bug in Cygwin. I ran your testcase and I can reproduce the
behaviour on 1.5.25-11. The problem does not occur in current CVS,
though, so it seems it has been fixed in CVS at one point.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list