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

Steve Harris S.W.Harris at ecs.soton.ac.uk
Tue Jul 13 10:14:22 UTC 2004


On Mon, Jul 12, 2004 at 10:15:05 -0700, Joshua Haberman wrote:
> It seems plausible that you could use this to safely allocate memory 
> from RT threads.  The only questions I have about its practicality are:

Its not my experieince that you usually need to allocate memory in RT
threads, the times when I've seen it done are mostly <generalisation>
bacuase of bad design, excessive OO-ness or lack of knowledge of
alloca(3) </generalisation>.

- Steve 



More information about the Linux-audio-dev mailing list