[Bug 510301] [0.11] Separate refcount and writability of miniobjects

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 29 00:23:48 PDT 2012


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

--- Comment #15 from Wim Taymans <wim.taymans at gmail.com> 2012-06-29 07:23:46 UTC ---
(In reply to comment #14)
> Wouldn't it be possible to take advantage of the 1.0 API break to resolve this
> by including a GMutex, or maybe even a GRWLock, in the relevant structs to
> represent a write-lock instead of hijacking the reference-counting
> functionality?

No, the problem is not about locking. It is about making sure that a thread
that wants to write makes a copy of the object first to ensure the
modifications are not seem by other threads.

-- 
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