mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-27 23:41:42 +00:00
Merge pull request #38 from adelnobel/patch-1
Get rid of zombie processes
This commit is contained in:
commit
0b5299fd6d
@ -16,7 +16,7 @@ int main()
|
||||
}
|
||||
|
||||
if (pid == 0) {
|
||||
sleep(10000);
|
||||
sleep(10);
|
||||
}
|
||||
else {
|
||||
struct rusage resource_usage;
|
||||
@ -26,4 +26,4 @@ int main()
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user