[linux-audio-dev] malloc() in RT code considered not-so-harmful?

Olivier Guilyardi ml at xung.org
Tue Jul 13 12:09:57 EDT 2004


Tim Hockin wrote:
> On Tue, Jul 13, 2004 at 02:12:21PM +0200, Olivier Guilyardi wrote:
> 
>>Is msgrcv() unacceptable as well, then ?
> 
> If you want to be careful, then yes.  You can ask msgrcv to not block, but
> I'd personally double check the kernel code. :)

What do you usually use then to talk with a RT thread ? The JACK doc 
talks about rwlocks, but message queues happen to elegantly suit my code...

--
   og


More information about the linux-audio-dev mailing list