Intel Corporation Interview Question

implement a queue that is used by two processes.