mirror of https://github.com/deajan/osync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
240 B
C
10 lines
240 B
C
8 years ago
|
# 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;
|
||
|
}
|