[Bug 794977] gstpoll: should not handle POLLPRI as read

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 12 10:01:22 UTC 2018


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

--- Comment #1 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 370838
  --> https://bugzilla.gnome.org/attachment.cgi?id=370838&action=edit
poll: stop treating on POLLPRI as 'read'

Current code was considering "can read" as having either POLLIN or POLLPRI
being
set.
This may lead to client being awaken because of POLLPRI, starting a blocking
read and getting stuck because there is actually nothing to read.

This patch removes POLLPRI handling in read code and I'll add specific
API to wait for POLLPRI.

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