This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bios QUE quesiton?

         Can I use DSP/BIOS QUE module to manage a buf array, such as Buff[100][250], I read the QUE reference pdf and I find it to difficult to implement, or something I get misunderstand?

 I  write real-time program, and so to avoid using MALLOC to dynamic request memory, and all memory request replace with global or static data array.

  anyone help?

  • Hi Thomas,

    You use can use QUE module to manage a linked list of buffers, but probably should use the BUF module instead. The BUF module is a memory manager that uses QUE and fixed size buffers. When the call BUF_alloc, the head of the linked list is returned. When you call BUF_free, the buffer is put onto the tail of the linked list. So no external fragmentation and it is very fast and deterministic.

    Todd