projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fd106
)
Revert "gthread: G_STATIC_MUTEX_INIT: Fix this for the non-win32 case."
author
Ryan Lortie
<desrt@desrt.ca>
Wed, 26 Oct 2011 19:10:33 +0000
(15:10 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Wed, 26 Oct 2011 19:10:33 +0000
(15:10 -0400)
This reverts commit
52fd106724aa79ad57ecaa7ad9d340f8c89da06d
.
glib/deprecated/gthread.h
patch
|
blob
|
history
diff --git
a/glib/deprecated/gthread.h
b/glib/deprecated/gthread.h
index 987fc909ede3f917bb2c8d5fe5415e9d7ec4a4f6..095ecc28eec43ddb59d3950774c5ca726e81586c 100644
(file)
--- a/
glib/deprecated/gthread.h
+++ b/
glib/deprecated/gthread.h
@@
-124,15
+124,7
@@
void g_thread_foreach (GFunc thread_func,
#endif
#define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
-
-#ifndef G_OS_WIN32
-/* The use of PTHREAD_MUTEX_INITIALIZER is arbitrary.
- * but that struct field is unused anyway. */
-#define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER }
-#else
#define G_STATIC_MUTEX_INIT { NULL }
-#endif
-
typedef struct
{
GMutex *mutex;