[vlc-devel] [PATCH] Added support for VDR recordings.
Rémi Denis-Courmont
remi at remlab.net
Sat Apr 17 18:07:44 CEST 2010
Le samedi 17 avril 2010 18:41:23 Tobias Güntner, vous avez écrit :
> Am 17.04.2010 15:48, schrieb Rémi Denis-Courmont:
> > Correction. You did not enable non-blocking mode. You had enabled
> > non-bocking open(). In my understanding, this does not propagate to the
> > file descriptor; it merely prevents the open() call from blocking. This
> > is more commonly done with O_NDELAY (which is a synomym). It is often
> > combined with O_NOCTTY.
>
> `man 2 open` says:
> O_NONBLOCK or O_NDELAY
> When possible, the file is opened in non-blocking mode. Neither the
> open() nor any subsequent operations on the file descriptor which is
> returned will cause the calling process to wait. ...
POSIX does not mention this behaviour.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list