Hi, I think you are right. Here's the fix for that patch.
Roy > > I think there is a problem with this patch. > Since you call the wait_son_startup() function after the fork() and before the > test on the PID variable, the father AND the son will wait on the pipe, leading > to a dead-lock. > > I suggest to move the wait_son_startup() calls after the pid test. > > Regards. > > R.
0001-fix-the-deadlock-introduced-in-the-previous-patch.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
