From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Davis Subject: Re: smix plugin available? Date: Wed, 27 Nov 2002 08:45:52 -0500 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-reply-to: Your message of "Wed, 27 Nov 2002 10:29:28 +0100." Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jaroslav Kysela Cc: James Courtier-Dutton , Florian Bomers , "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org >Sorry, it's not as easy as you've described. It's not possible to invoke >any user code from the kernel code directly. There is a scheduler which is >informed that a task has been woken up. It depends on scheduler when the >task is really invoked. It's quite same as for the r/w model where the >application is notified over poll that something occured. i think we can consider the behaviour of the kernel scheduler when it schedules a SCHED_FIFO task after an audio interface interrupt has woken it to be very, very close to the kind of callback system james is describing. ditto for any kind of wakeup of a SCHED_FIFO task (e.g. when its woken by a write to pipe, or a signal). its not perfect, as i am very disappointed to discover, but its also very close. --p ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en