Re: [linux-audio-dev] deblocking snd_seq_event_input()

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Fri May 06 2005 - 16:54:32 EEST

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
Received on Fri May 6 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Fri May 06 2005 - 20:15:06 EEST