>> How painful would it be to add an API call to set the async notification
>> signal to be something other than SIGIO?

[ explanation ]

and just remember not to actually do anything complicated from your
signal handler. ioctl(2), which is used for most ALSA user/kernel
space communication, is not async-safe, and thus cannot be used from a
signal handler without creating undefined behaviour. to quote from at
least one text:

      "In general, applications should do only the minimum possible
       in the handlers for asynchronous signals, such as setting a flag
       or posting a semaphore."

--p

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to