I\'m developing a class to queue a given number of elements where the reading thread pops and the writing thread pushes them. If the queue is empty the reader blocks and if the