[Bug 750397] CRITICAL: Race condition in GstBus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 28 02:25:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=750397

--- Comment #48 from Matt Gruenke <mgruenke at tycoint.com> ---
(In reply to Sebastian Dröge (slomo) from comment #46)

> Note also that making it blocking breaks the GstPoll API:
> gst_poll_read_control() is supposed to return FALSE when no bytes were there
> to be read (which it currently also does not always do because bugs, see
> above). As such, we should only really consider making it blocking if there
> is really really no other way around it.

I think attachment 330467 fixes that.

Please understand that, in spite of removing O_NONBLOCK, the intention is still
that RELEASE_EVENT() shouldn't block for any appreciable amount of time.  We
only avoid O_NONBLOCK to ensure the read() succeeds.

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