summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-2
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-06-30 19:56:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-06-30 19:56:47 +0000
commit8951f96c50fda95a8cfaf48e8e378136a9268365 (patch)
tree7f76c1d829e8c7dfe8027c0c1a7c30200079e15d /ChangeLog.pre-2-2
parentc88e252950fb8fcc9d91204a1527bb7a7f4dc760 (diff)
Make some changes to the way that GMainContext works:
Sat Jun 30 15:49:10 2001 Owen Taylor <otaylor@redhat.com> * glib/gmain.[ch]: (Mostly patch from Sebastian Wilhemi) Make some changes to the way that GMainContext works: - a GMainContext is no longer associated with a single thread, but any thread can acquire ownership of thread and iterate. - There is a facility g_main_context_wait() for non-owner-threads to wait either for ownership or for a condition to be broadcast. - For efficiency, GMainLoop just piggybacks of of the loops mutex / condition instead of having a separate mutex/condition for each GMainLoop. * glib/gthread.[ch]: Remove hacks to store the thread's GMainContext in the GThread structures, since we no longer have the GMainContext <=> GThread correspondence. * glib/gmain.[ch]: Make g_main_context_wakeup() public so someone could completely duplicate GMainLoop with the public API. * tests/mainloop-test: Fix up to the new API. Decidedly doesn't work at the moment, but that may be the IO channel changes, or preexisting locking problems.
Diffstat (limited to 'ChangeLog.pre-2-2')
-rw-r--r--ChangeLog.pre-2-230
1 files changed, 30 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 884c609c9..0a4ee2cfc 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,33 @@
+Sat Jun 30 15:49:10 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.[ch]: (Mostly patch from Sebastian Wilhemi)
+ Make some changes to the way that GMainContext works:
+
+ - a GMainContext is no longer associated with a single
+ thread, but any thread can acquire ownership
+ of thread and iterate.
+
+ - There is a facility g_main_context_wait() for
+ non-owner-threads to wait either for ownership
+ or for a condition to be broadcast.
+
+ - For efficiency, GMainLoop just piggybacks of
+ of the loops mutex / condition instead of
+ having a separate mutex/condition for each
+ GMainLoop.
+
+ * glib/gthread.[ch]: Remove hacks to store the thread's
+ GMainContext in the GThread structures, since we
+ no longer have the GMainContext <=> GThread correspondence.
+
+ * glib/gmain.[ch]: Make g_main_context_wakeup() public
+ so someone could completely duplicate GMainLoop
+ with the public API.
+
+ * tests/mainloop-test: Fix up to the new API. Decidedly
+ doesn't work at the moment, but that may be the IO
+ channel changes, or preexisting locking problems.
+
Sat Jun 30 13:18:28 2001 Owen Taylor <otaylor@redhat.com>
* glib/gstrfuncs.c glib/gstring.h: Try compiling