index
:
135e2/xv6-labs.git
cow
fs
lock
mmap
net
pgtbl
syscall
thread
traps
util
xv6-labs-2024-winter
135e2
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
zombie.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'zombie.c')
-rw-r--r--
zombie.c
2
1 files changed, 0 insertions, 2 deletions
diff --git a/zombie.c b/zombie.c
index 07ad798..077c02c 100644
--- a/
zombie.c
+++ b/
zombie.c
@@ -8,8 +8,6 @@
int
main(void)
{
- int i;
-
if(fork() > 0)
sleep(5); // Let child exit before parent.
exit();