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

From: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Mon Feb 27 2012 - 12:59:55 EET

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.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Feb 27 12:15:04 2012

This archive was generated by hypermail 2.1.8 : Mon Feb 27 2012 - 12:15:04 EET