Fix to sy4.

This commit is contained in:
Geoffrey Challen committed 2015-12-31 12:50:54 -05:00
1 parent 5271fc50c7
commit 89ba79cdb4
1 file changed
+1 -1
+1 -1
View File
@@ -395,7 +395,7 @@ sleepthread(void *junk1, unsigned long junk2)
V(gatesem); V(gatesem);
random_yielder(4); random_yielder(4);
spinlock_acquire(&status_lock); spinlock_acquire(&status_lock);
testval1++; testval4++;
spinlock_release(&status_lock); spinlock_release(&status_lock);
cv_wait(testcvs[i], testlocks[i]); cv_wait(testcvs[i], testlocks[i]);
random_yielder(4); random_yielder(4);