Changed the scope of the initialized mutex to USYNC_THREAD. Thanks to
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 25 Apr 2000 13:44:43 +0000 (13:44 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 25 Apr 2000 13:44:43 +0000 (13:44 +0000)
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.

gthread/ChangeLog
gthread/gthread-solaris.c

index 800457403e64432707f250ce4478c7409dd62bd4..f2fa1c8c49025792bb37eaf82cec95fbeae602c8 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-03-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro
index 38aac1fc9a3810d8b684b60247ef395dc62350d2..c4ba041d41d4ee7f2839adc458e9fada976f6c88 100644 (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;
 }