diff options
Diffstat (limited to 'zombie.c')
| -rw-r--r-- | zombie.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -7,6 +7,10 @@ int main(void) { - fork(); + int i; + + if(fork() > 0) + for(i=0; i<10; i++) + yield(); exit(); } |
![]() |
index : xv6-labs-2022/.git | |
| Unnamed repository; edit this file 'description' to name the repository. | root |
| aboutsummaryrefslogtreecommitdiff |