[Bug 644776] Macro to check check mutability in set_property functions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Feb 23 18:32:06 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=644776
  GStreamer | gstreamer (core) | git

--- Comment #4 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2013-02-24 02:31:58 UTC ---
Created an attachment (id=237260)
 View: https://bugzilla.gnome.org/attachment.cgi?id=237260
 Review: https://bugzilla.gnome.org/review?bug=644776&attachment=237260

paramspecs: Add function and macro to check parameter mutability.

Updated based on the comments here and on #571559. I'm proposing a function
that doesn't do any locking as well
as a macro that takes the object lock, as I think it's the most common
use-case. That said, even if the object does not
use the object lock to protect its data, it must still take it to make sure
that no state transition happens while
the property is being set.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list