Microsoft interview question

write a client-product multi threaded queue