2
0
mirror of https://github.com/deajan/osync synced 2024-11-11 07:10:40 +00:00
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;
}