[gst-devel] Fwd: [Bug 63621] Changed - Add GAtomicInt for atomic integer operations

Benjamin Otte in7y118 at public.uni-hamburg.de
Thu Feb 26 07:10:05 CET 2004


Can we please require glib 2.4 in gstreamer, retire our atomic stuff and use 
this in 0.8?

Benjamin


----- Forwarded message from bugzilla-daemon at widget.gnome.org -----
    Date: Thu, 26 Feb 2004 09:31:05 -0500 (EST)
    From: bugzilla-daemon at widget.gnome.org
Reply-To: bugzilla-daemon at widget.gnome.org
 Subject: [Bug 63621] Changed - Add GAtomicInt for atomic integer operations
      To: gtkdev at gtk.org

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=63621

Changed by seppi at seppi.de.

--- shadow/63621	Mon Feb 23 10:24:59 2004
+++ shadow/63621.tmp.8701	Thu Feb 26 09:31:05 2004
@@ -1,13 +1,13 @@
 Bug#: 63621
 Product: glib
 Version: 1.3.x
 OS: other
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkdev at gtk.org                            
 ReportedBy: seppi at seppi.de               
 TargetMilestone: 2.4 API freeze
@@ -897,6 +897,25 @@
 gboolean    g_atomic_pointer_compare_and_exchange
                                             (gpointer *atomic,
                                              gpointer oldval,
                                              gpointer newval);
 void        g_atomic_int_inc                (gint32 *atomic);
 gboolean    g_atomic_int_dec_and_test       (gint32 *atomic);
+
+------- Additional Comments From seppi at seppi.de  2004-02-26 09:31 -------
+2004-02-26  Sebastian Wilhelmi  <seppi at seppi.de>
+
+	* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
+	operations for different platforms. Fixes bug #63621.
+
+	* glib/glib.h: Include gatomic.h.
+
+	* configure.in: Add test for assembler routines for atomic operations.
+
+	* glib/Makefile.am: Add gatomic.c, gatomic.h.
+
+	* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
+	operations.
+
+	* glib/glib-overrides.txt, glib/glib-sections.txt,
+	glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
+	for atomic operations.

----- End forwarded message -----






More information about the gstreamer-devel mailing list