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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 8 07:32:50 UTC 2018


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

Guillaume Desmottes <gdesmott at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #370838|0                           |1
        is obsolete|                            |

--- Comment #9 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 372600
  --> https://bugzilla.gnome.org/attachment.cgi?id=372600&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