Fix to sy4.

This commit is contained in:
Geoffrey Challen 2015-12-31 12:50:54 -05:00
parent 5271fc50c7
commit 89ba79cdb4

View File

@ -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);