NVIDIA interview question

Write a multi-threaded producer and consumer.