fix mlfqs tests, complete BSD scheduling
This commit is contained in:
@@ -233,6 +233,7 @@ lock_release (struct lock *lock)
|
||||
|
||||
lock->holder = NULL;
|
||||
sema_up (&lock->semaphore);
|
||||
thread_yield ();
|
||||
}
|
||||
|
||||
/* Returns true if the current thread holds LOCK, false
|
||||
|
||||
Reference in New Issue
Block a user