a start at concurrent FS system calls
This commit is contained in:
parent
2c56547272
commit
71453f72f2
6 changed files with 95 additions and 61 deletions
4
proc.c
4
proc.c
|
@ -186,9 +186,9 @@ exit(void)
|
|||
}
|
||||
}
|
||||
|
||||
begin_trans();
|
||||
begin_op();
|
||||
iput(proc->cwd);
|
||||
commit_trans();
|
||||
end_op();
|
||||
proc->cwd = 0;
|
||||
|
||||
acquire(&ptable.lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue