osync/dev/uninterruptible.c

10 lines
240 B
C
Raw Normal View History

2016-08-18 22:13:27 +00:00
# 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;
}