[PD-dev] lock-free fifo

Thomas Grill gr at grrrr.org
Fri Feb 25 18:46:06 CET 2005


>What's the advantage of using two lifos over using one circular fifo? If
>neither is dynamically reallocated, neither is resizable either, and both
>are essentially equivalent, no?
>  
>
There's no principle advantage, other than to get a lock-free fifo for 
all platforms. The old implementation was buggy.
Talking to Yann Orlarey he stated that Grame is working on a separate 
fifo implementation as well.
Please note also that it's is a linked list fifo, so no reallocation 
needed... on the other hand the "cell" elements have to be dynamically 
allocated before insertion.

best greetings,
Thomas






More information about the Pd-dev mailing list