Cygwin fork implementation
Sudhahar
jsudha80@gmail.com
Mon Feb 6 13:34:00 GMT 2006
Hi,
In Cygwin fork code the statement
int res = setjmp (grouped.ch.jmp);
if (res)
res = fork_child (grouped.ch.parent, grouped.first_dll, grouped.load_dlls);
else
res = fork_parent (grouped.ch.parent, grouped.first_dll,
grouped.load_dlls, esp, grouped.ch);
avoids the fork being called repeatedly by the created process of
parent. Can anyone tell me how this actually happens. Thanks in
advance for your time and comments.
Thanks
Sudhakar
--
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