2
0
mirror of https://github.com/deajan/osync synced 2024-11-19 03:25:37 +00:00
osync/dev/uninterruptible.c
2016-08-19 00:13:27 +02:00

10 lines
240 B
C

# 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;
}