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.
HTH
Clemens