diff options
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(); } |