Is there any threadsafe queue in the standard library?
I've not been able to find anything but thought I'd check before making my own.

I want to be able to assemble messages (Which are just streams of bytes) in one thread into a struct and push them to the queue, and then have a another thread be able to read and process the messages. Single producer and consumer.

Reply via email to