At Mon, 07 Oct 2002 19:46:44 +0200, Abramo Bagnara wrote: > > > > but the current behavior is incorrect from the interpretation of > > > > POSIX. so this must be a bug. > > > > if we have to change it, then i would choose the new one, because > > > > it's more intuitive without exception. > > > > > > As pointed by Clemens the current is the proper POSIX behaviour. > > > > Perhaps you should reread Single Unix Specification, I quote > http://www.opengroup.org/onlinepubs/007904975/functions/poll.html > > POLLIN > Data other than high-priority data may be read without > blocking. > > > POLLOUT > Normal data may be written without blocking. > > > No data may be read/written in current stream state in the case we are > discussing.
these flags are the conditions how read/write behaves when poll() returns. no problem that poll() itself is blocked in the prepare state because it does NOT return until the pcm is ready. 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