Bugs item #1221744, was opened at 2005-06-16 08:21 Message generated for change (Comment added) made by subrata_modak You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1221744&group_id=3382
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Testcases Group: System Calls >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Carl van Schaik (navlrac) Assigned to: Nobody/Anonymous (nobody) Summary: fork12 race condition Initial Comment: It appears that fork12 has a race condition. The test starts as many children as possible then sends them a signal to SIG_QUIT. If a child has not yet completed returning from the fork and called pause() before the parent sends the SIG_QUIT, the SIG_QUIT is caught in the child's signal handler (and ignored). The child then calls pause() which will never return since the signal was missed. The parent then calls wait() and the test does not complete. -- Carl ---------------------------------------------------------------------- >Comment By: Subrata (subrata_modak) Date: 2007-04-25 12:03 Message: Logged In: YES user_id=1737361 Originator: NO Introduced a sleep(3) to make sure that all children are at pause() when SIGQUIT is sent to them. Thanks-- Subrata ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1221744&group_id=3382 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
