diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-15 02:19:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-15 02:19:06 +0000 |
commit | 424b7e92fce7a1af2c8b3f4d4a9bbd36eecf8891 (patch) | |
tree | 73c79825edb979d4abd9d3d5a69158d0a274aaa5 /glib/gthread.h | |
parent | ceb35b237bb7538c0defd3acc13f95af3081495e (diff) | |
download | glib-424b7e92fce7a1af2c8b3f4d4a9bbd36eecf8891.tar.gz |
Mark the contents of the strucures in this file /*< private >*/
Sat Dec 14 21:10:57 2002 Owen Taylor <otaylor@redhat.com>
* glib/gthread.h: Mark the contents of the strucures
in this file /*< private >*/
* glib/gthread.[ch]: Rename the 'write' field of the
structure to 'have_writer' to avoid any possible
conflict with system headers. (#90549, Morten Welinder)
Diffstat (limited to 'glib/gthread.h')
-rw-r--r-- | glib/gthread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/glib/gthread.h b/glib/gthread.h index 1ca5aa6a2..31522033d 100644 --- a/glib/gthread.h +++ b/glib/gthread.h @@ -56,6 +56,7 @@ typedef enum typedef struct _GThread GThread; struct _GThread { + /*< private >*/ GThreadFunc func; gpointer data; gboolean joinable; @@ -229,6 +230,7 @@ void g_static_mutex_free (GStaticMutex *mutex); struct _GStaticPrivate { + /*< private >*/ guint index; }; #define G_STATIC_PRIVATE_INIT { 0 } @@ -242,6 +244,7 @@ void g_static_private_free (GStaticPrivate *private_key); typedef struct _GStaticRecMutex GStaticRecMutex; struct _GStaticRecMutex { + /*< private >*/ GStaticMutex mutex; guint depth; GSystemThread owner; @@ -260,11 +263,12 @@ void g_static_rec_mutex_free (GStaticRecMutex *mutex); typedef struct _GStaticRWLock GStaticRWLock; struct _GStaticRWLock { + /*< private >*/ GStaticMutex mutex; GCond *read_cond; GCond *write_cond; guint read_counter; - gboolean write; + gboolean have_writer; guint want_to_read; guint want_to_write; }; |