This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
>Your test case worked fine for me with Cygwin 1.7.x. I don't have a >copy of 1.5.x handy to test. > >> I don't see any reason why this shouldn't be allowed. You should > >> be able to do anything you want in a child process. > >I do not think that is true. As per > ><http://www.opengroup.org/onlinepubs/009695399/functions/fork.html>, > >RATIONALE, the penultimate paragraph, it is basically undefined behaviour. > > I wrote the current version of cygwin's fork. I also confirmed previous code worked fine with Cygwin 1.7. But attached code hangs on Cygwin 1.7. (Actually this is what test_3_join_in_forked_from_thread is doing)
Attachment:
main.c
Description: Binary data
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |