[Bug 675869] [hlsdemux] potential dead-lock using GstTask

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 11 07:21:04 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=675869
  GStreamer | gst-plugins-bad | git

--- Comment #3 from Wim Taymans <wim.taymans at gmail.com> 2012-05-11 14:14:21 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > hlsdemux also tries to join without taking and releasing the task lock first, I
> > suspect this is your real problem.
> 
> I don't see how that would solve the problem since the other thread could
> potentially do anything between the release and the join.

not if you wait for the task lock because then you are sure that the other
thread is stopped and waiting and that you can do your join without any other
thread interfering.

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