Changed the scope of the initialized mutex to USYNC_THREAD. Thanks to

2000-04-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread-solaris.c (g_mutex_new_solaris_impl): Changed the scope
	of the initialized mutex to USYNC_THREAD. Thanks to Soeren
	Sandmann <sandmann@daimi.au.dk> for pointing that out.
This commit is contained in:
Sebastian Wilhelmi
2000-04-25 13:44:43 +00:00
committed by Sebastian Wilhelmi
parent 7bd3771d3d
commit 7e3c98f8e9
2 changed files with 7 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ static GMutex *
g_mutex_new_solaris_impl (void)
{
GMutex *result = (GMutex *) g_new (mutex_t, 1);
solaris_check_for_error (mutex_init ((mutex_t *) result, USYNC_PROCESS, 0));
solaris_check_for_error (mutex_init ((mutex_t *) result, USYNC_THREAD, 0));
return result;
}