On Sat, 2007-07-07 at 02:34 +0200, Fons Adriaensen wrote:
> * The callback has to know when it can (re)write the object.
>   Clearly it should never wait on a sema, and it is already
>   periodic, so here you can use a flag in the object. 

Is there any advantage in using a simple flag instead of a semaphore and
sem_trywait()?


--ll

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev

Reply via email to