In all the variants of the basic test for part 1-1, release the lock
[pintos-anon] / grading / threads / alarm-multiple.c
index aaa3cc84225fc47ab18a1727ded478e0c598260c..6e7c3d4079adc638ef593a35f437a7bf2ea1206c 100644 (file)
@@ -130,6 +130,7 @@ test_sleep (int thread_cnt, int iterations)
   
   printf ("Test complete.\n");
 
+  lock_release (&test.output_lock);
   free (output);
   free (threads);
 }