Re: [linux-audio-dev] Why? call back API and other thoughts...

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Why? call back API and other thoughts...
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Fri Feb 28 2003 - 18:40:38 EET


On Fri, Feb 28, 2003 at 04:51:07 +0100, Fons Adriaensen wrote:
> The thread that calls the user's callback function is completely
> hidden, and so it can wait only for the trigger form jackd and nothing
> else. As a consequence you can't use it to communicate safely with your
> callback which would be easy if the thread and the synchronisation
> mechanism were visible.

Thats largly for portability reasons, the callbacks aren't allways in a
thread, eg. for IE clients.

Adding a thread which is syncronised with the calback thread is very easy
and more portable.

- Steve


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Feb 28 2003 - 18:55:39 EET