mirror of
https://github.com/deajan/osync
synced 2024-11-17 09:25:42 +00:00
10 lines
240 B
C
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;
|
||
|
}
|