>Kernel people: is poll() less effective than using SND_PCM_ASYNC and a
>signal handler for low-latency sound?  I'm guessing it is, but there

at the risk of endlessly repeating myself, SIGIO is basically
useless. your handler executes in signal-handling context, and can do
very, very little. not even all system calls are legal in this context.
SIGIO is basically a "poor man's thread system", and not much more.

also, poll wakes a task quicker than a signal. this is easy to
establish empirically. from a theoretical perspective, signal handling
is a much more complex situation that simply continuing on with
whatever function was blocked.

--p


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to