poll: Clarify when FALSE is returned from read/write_control()
authorSebastian Dröge <sebastian@centricular.com>
Wed, 29 Jun 2016 11:35:35 +0000 (13:35 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 29 Jun 2016 19:21:04 +0000 (21:21 +0200)
commitcda3f1213bc333d4ec2b586324d5939f8ad2ea34
tree3e9ff54095e55c3116d0d11904d1297d56bab1bc
parent254955df62d5057ad724f9fb20ad68c6340a2d4e
poll: Clarify when FALSE is returned from read/write_control()

And also mention what the expected values of errno are going to be.

write_control() will only ever return FALSE if there was a critical error. It
will never return because of EINTR, EAGAIN or EWOULDBLOCK.

read_control() will return FALSE if there was no byte to read, in which case
errno would be EWOULDBLOCK.
In all other cases there was a critical error.

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