2 #include "AudioTools/CoreAudio/AudioBasic/Collections/List.h"
15 template <
class T,
class TMutex>
20 bool enqueue(T& data) {
22 return l.push_front(data);
27 if (l.end()->prior ==
nullptr)
return false;
28 data = *(l.end()->prior);
32 bool dequeue(T& data) {
34 return l.pop_back(data);
52 void setAllocator(
Allocator& allocator) { l.setAllocator(allocator); }