In all the variants of the basic test for part 1-1, release the lock
[pintos-anon] / grading / threads / alarm-single.c
index 4681d8983d6bc10755dbd56bc142b63b2f501ba6..aff206467e771242c1becf9ebe67f376946c5faf 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);
 }