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