[Bug 736295] multiqueue: posts buffering message holding lock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 15 10:10:18 PDT 2014


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

--- Comment #4 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-09-15 17:10:11 UTC ---
Created an attachment (id=286225)
 View: https://bugzilla.gnome.org/attachment.cgi?id=286225
 Review: https://bugzilla.gnome.org/review?bug=736295&attachment=286225

multiqueue: do not post messages holding the lock

It might cause deadlocks to post messages while holding the multiqueue
lock. To avoid this a new boolean flag is set whenever a new buffering percent
is found. The message is posted after the lock can be released.

To make sure the buffering messages are posted in the right order, messages
are posted holding another lock. This prevents 2 threads trying to post
messages at the same time.

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