At Fri, 13 Sep 2002 13:45:24 +0200 (CEST),
Tim Goetze wrote:
> 
> Takashi Iwai wrote:
> 
> >if it's on the blocking mode, the driver should block if it's possible
> >to do write in future _by any chance_.
> >if it's not on the blocking mode, the driver should return -EAGAIN.
> >and, the behavior of poll() depends on the behavior of write().
> >if it blocks, then poll blocks, too.
> 
> sorry, i beg to differ. poll returning immediately with EAGAIN on a
> nonblock fd doesn't make sense to me. 
 
yes, poll should block until it's ready.
i meant that if we implement blocking write, poll should be
implemented to block, too, unlike the current implementation.
of course, poll should block regardless of blocking mode.

sorry for confusing.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to