[vlc-devel] [PATCH v2 1/3] os2: thread: improve vlc_poll_os2()
Rémi Denis-Courmont
remi at remlab.net
Thu Oct 29 14:15:40 CET 2015
Le 2015-10-29 15:28, KO Myung-Hun a écrit :
> Rémi Denis-Courmont wrote:
>> On Sunday 25 October 2015 22:01:34 KO Myung-Hun wrote:
>>> From: KO Myung-Hun <komh78 at gmail.com>
>>>
>>> If non-sockets, set revents to POLLNVAL;
>>
>> Are sockets file descriptors? If so, I don´t see any reasons why
>> your poll()
>> cannot handle regular file descriptors correctly.
>>
>
> Sockets are file descriptors. However, select() does not support
> other
> file descriptors such as regular files than sockets.
Then there are no reasons not to support regular files in the poll()
replacement.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list