diff options
author | rsc <rsc> | 2007-08-10 17:19:15 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-10 17:19:15 +0000 |
commit | 8139713c46aa63abb65d53fc237a21ffe91aa0bb (patch) | |
tree | 7e885c02a81bc3ea2a5ea04ae7fdf7a3834e3885 /trap.c | |
parent | 2715cd35921ee748154ebdce04ed84a1e543338f (diff) | |
download | xv6-labs-8139713c46aa63abb65d53fc237a21ffe91aa0bb.tar.gz xv6-labs-8139713c46aa63abb65d53fc237a21ffe91aa0bb.tar.bz2 xv6-labs-8139713c46aa63abb65d53fc237a21ffe91aa0bb.zip |
add note
Diffstat (limited to 'trap.c')
-rw-r--r-- | trap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -57,6 +57,7 @@ trap(struct trapframe *tf) proc_exit(); // Force process to give up CPU and let others run. + // If locks were held with interrupts on, would need to check nlock. if(cp->state == RUNNING) yield(); } |