summaryrefslogtreecommitdiff
path: root/gdk/gdkprivate.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-05-16 02:13:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-05-16 02:13:12 +0000
commit457148333e72c2bc607268ce4922c531aaf33181 (patch)
tree869e8cb6ad75e382de86fbce844141266171fca2 /gdk/gdkprivate.h
parent123e299bcf4a86e8078d77d4f3d4367638cded94 (diff)
downloadgtk+-457148333e72c2bc607268ce4922c531aaf33181.tar.gz
Basic thread-awareness:
Fri May 15 21:16:54 1998 Owen Taylor <otaylor@gtk.org> Basic thread-awareness: * acconfig.h configure.in: New option --with-threads=[yes/posix/no] * gdk/Makefile.am gdk/gdkthreads.c: Added new functions gdk_threads_[init/enter/leave] for applications, plus gdk_threads_wake to wake the mainloop thread out of the select(). * gtk/Makefile.am: gtk/testthreads.c: Test program for threads Fri May 15 12:08:48 1998 Owen Taylor <otaylor@gtk.org> * gtk/testgtk.c (list_clear): Account for the fact that gtk_list_clear_items is not inclusive. (Clears [start, end))
Diffstat (limited to 'gdk/gdkprivate.h')
-rw-r--r--gdk/gdkprivate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
index 555c8c3820..fcfca025bf 100644
--- a/gdk/gdkprivate.h
+++ b/gdk/gdkprivate.h
@@ -268,6 +268,13 @@ extern gint gdk_error_code;
extern gint gdk_error_warnings;
extern gint gdk_null_window_warnings;
extern GList *gdk_default_filters;
+extern gboolean gdk_using_threads;
+
+/* Threading stuff */
+#ifdef USE_PTHREADS
+extern gint gdk_threads_pipe[2];
+extern gboolean gdk_select_waiting;
+#endif
/* Debugging support */