mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	Make the rec mutex test a little more verbose
This commit is contained in:
		| @@ -83,7 +83,6 @@ acquire (gint nr) | ||||
|     { | ||||
|       if (g_test_verbose ()) | ||||
|         g_print ("thread %p going to block on lock %d\n", self, nr); | ||||
|  | ||||
|     } | ||||
|  | ||||
|   g_rec_mutex_lock (&locks[nr]); | ||||
| @@ -97,6 +96,9 @@ acquire (gint nr) | ||||
|  | ||||
|   g_assert (owners[nr] == self);   /* hopefully this is still us... */ | ||||
|  | ||||
|   if (g_test_verbose ()) | ||||
|     g_print ("thread %p recursively taking lock %d\n", self, nr); | ||||
|  | ||||
|   g_rec_mutex_lock (&locks[nr]);  /* we're recursive, after all */ | ||||
|  | ||||
|   g_assert (owners[nr] == self);   /* hopefully this is still us... */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user