[linux-audio-dev] deblocking snd_seq_event_input()

Clemens Ladisch clemens at ladisch.de
Fri May 6 07:36:23 UTC 2005

Fons Adriaensen wrote:
> Is there a simple (i.e. simpler than getting the pollfd and using them)
> to force snd_seq_event_input() in blocking mode to return, so the the
> calling thread can close the handle and cleanup ?

You could try to send this thread a signal, but I don't know how well
signals and threads work together.

Otherwise, if you want to wait for an event other than "sequencer
event received", you must use poll.


More information about the Linux-audio-dev mailing list