Changeset 3212 for trunk/Ohana/src/opihi/pclient/ChildOps.c
- Timestamp:
- Feb 13, 2005, 9:37:58 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pclient/ChildOps.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pclient/ChildOps.c
r3211 r3212 35 35 if (dtime < 0.0001) Nbad ++; 36 36 if (dtime > 0.01) Nbad = 0; 37 if (Nbad > 10) { 38 fprintf (stderr, "parent shutdown\n"); 39 exit (2); 40 } 37 if (Nbad > 10) exit (2); 41 38 42 39 /* this is a bit lame : we must exit if calling process exits */ 43 40 ppid = getppid(); 44 if (ppid == 1) { 45 fprintf (stderr, "parent shutdown\n"); 46 exit (2); 47 } 41 if (ppid == 1) exit (2); 48 42 49 43 CheckChildStatus ();
Note:
See TracChangeset
for help on using the changeset viewer.
