[LAD] memory allocation for the real time thread, opinions wanted

Emanuel Rumpf xbran at web.de
Mon Feb 27 10:59:55 UTC 2012


Hi

It's good to work with pointers, as Nick pointed out.

If that is not possilbe for any reason,
an options is to use a (pre-allocated) memory pool.

You might want to examine this library : TLSF
http://www.gii.upv.es/tlsf/

" I could allocate in the non-realtime thread and then pass memory
over in queues. "
That could be feasable.


-
E.R.



More information about the Linux-audio-dev mailing list