Fix to sy4.
This commit is contained in:
1 parent
5271fc50c7
commit
89ba79cdb4
1 file changed
+1
-1
@@ -395,7 +395,7 @@ sleepthread(void *junk1, unsigned long junk2)
|
||||
V(gatesem);
|
||||
random_yielder(4);
|
||||
spinlock_acquire(&status_lock);
|
||||
testval1++;
|
||||
testval4++;
|
||||
spinlock_release(&status_lock);
|
||||
cv_wait(testcvs[i], testlocks[i]);
|
||||
random_yielder(4);
|
||||
|
||||
Reference in new issue
Block a user