Use the atomic integer operations for GMainContext and GMainLoop reference
authorSebastian Wilhelmi <seppi@seppi.de>
Thu, 4 Mar 2004 10:12:55 +0000 (10:12 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Thu, 4 Mar 2004 10:12:55 +0000 (10:12 +0000)
commitc40b15fc6b37d152d67c2d2ec18d0e635ea70f90
treef1d4d21a9d4bbdbfb4cb82fafc46a1697440ab20
parent6e521087ad030f56d0c93a5d6078fe514f0e9f39
Use the atomic integer operations for GMainContext and GMainLoop reference

2004-03-04  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gmain.c: Use the atomic integer operations for GMainContext
and GMainLoop reference counting.

* glib/gmain.c: Hold the main_context_list lock, when iterating
the list. Only call g_main_context_wakeup for positive reference
count.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c