Was quite some time since i touched concurrency but I think you would want to read up on semaphores and/or monitors. For a container I would probably use something like the std::deque with the...