Lock-free interthread message queue.