FIFO Buffer

Which Juce class is recommended to simulate a FIFO buffer? I need a thread-safe way of tying together socket commands and responses, essentially to track state. Very similar to the queue to communicate between threads, and/or pass Midi or audio sample data around I’d expect.

Thanks,

Bruce

I’ve not done a fifo yet. Strange really, but I guess I’ve never needed one for anything! There must be plenty of code snippets out there that do fifos though.