diff --git a/dev/uninterruptible.c b/dev/uninterruptible.c new file mode 100644 index 0000000..69aa15b --- /dev/null +++ b/dev/uninterruptible.c @@ -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; +}