J.P. Morgan Interview Question

Design a multi threaded queue in c++.