Thread safe queue



Hi,

How can i create a simple thread safe queue with just a put and get?
All hints welcome!

cheers,

//mikael

.