I'm writing a program in which it would be very useful to have a queue that could be added to and removed from simultaneously. I started writing my own, but got frustrated and decided to ask if there was one already out on the net that I could use. Googling turned up a lot of info that suggested this is a fairly common object to need, but no code. Does anyone know of a free thread safe queue?