From 7e3c98f8e96449618b3f9dc4d5a3ec1fcd7aa37a Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Tue, 25 Apr 2000 13:44:43 +0000 Subject: [PATCH] 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. --- gthread/ChangeLog | 6 ++++++ gthread/gthread-solaris.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 800457403..f2fa1c8c4 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 38aac1fc9..c4ba041d4 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; }