[linux-audio-dev] deblocking snd_seq_event_input()

Clemens Ladisch clemens at ladisch.de
Fri May 6 09:54:32 EDT 2005


Fons Adriaensen wrote:
> Shouldn't a call that waits on fd return with an error code when
> that fd is closed ?

The ALSA library isn't thread safe.

> Since snd_seq_event_input() probably uses poll() internally, why
> doesn't it test for POLLERR,-HUP,-NVAL ?

It just calls read().


Regards,
Clemens



More information about the linux-audio-dev mailing list