[Gstreamer-bugs] [Bug 113451] New - GstAtomic needs compare_and_swap
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Wed May 21 08:44:29 PDT 2003
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=113451
Changed by in7y118 at public.uni-hamburg.de.
--- shadow/113451 Wed May 21 11:44:29 2003
+++ shadow/113451.tmp.3423 Wed May 21 11:44:29 2003
@@ -0,0 +1,27 @@
+Bug#: 113451
+Product: GStreamer
+Version: HEAD CVS
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: in7y118 at public.uni-hamburg.de
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.6.x
+URL:
+Summary: GstAtomic needs compare_and_swap
+
+The only method to currently compare atomic values is by using
+dec_and_test, which makes it useless for anything but refcounting.
+
+I'd want to use it for state changes.
+
+Bug 63621 would offer implementations for some archs which are save to use
+I think.
+
+btw: Should I open a seperate bug to stay close to glibs design so we can
+one day remove the atomic stuff and use typedef GAtomic GstAtomicInt?
More information about the Gstreamer-bugs
mailing list