From: Sebastian Wilhelmi Date: Tue, 25 Apr 2000 13:44:43 +0000 (+0000) Subject: Changed the scope of the initialized mutex to USYNC_THREAD. Thanks to X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7e3c98f8e96449618b3f9dc4d5a3ec1fcd7aa37a;p=dana%2Fcg-glib.git Changed the scope of the initialized mutex to USYNC_THREAD. Thanks to 2000-04-25 Sebastian Wilhelmi * gthread-solaris.c (g_mutex_new_solaris_impl): Changed the scope of the initialized mutex to USYNC_THREAD. Thanks to Soeren Sandmann for pointing that out. --- diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 80045740..f2fa1c8c 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,9 @@ +2000-04-25 Sebastian Wilhelmi + + * gthread-solaris.c (g_mutex_new_solaris_impl): Changed the scope + of the initialized mutex to USYNC_THREAD. Thanks to Soeren + Sandmann for pointing that out. + 2000-03-20 Sebastian Wilhelmi * gthread-posix.c (posix_check_for_error): Forgot a '}' in a macro diff --git a/gthread/gthread-solaris.c b/gthread/gthread-solaris.c index 38aac1fc..c4ba041d 100644 --- a/gthread/gthread-solaris.c +++ b/gthread/gthread-solaris.c @@ -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; }