mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
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:
committed by
Sebastian Wilhelmi
parent
7bd3771d3d
commit
7e3c98f8e9
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user