Added dead process test program

This commit is contained in:
deajan 2016-08-19 00:13:27 +02:00
parent ca7be5d945
commit a994e9a590
1 changed files with 9 additions and 0 deletions

9
dev/uninterruptible.c Normal file
View File

@ -0,0 +1,9 @@
# Create a process in uninterruptible sleep state that forks a child process.
# Killing child process will change childs's state to zombie.
# Useful for WaitforTaskCompletion tests
int main() {
vfork();
sleep(180);
return 0;
}