Concurrent execution of the enque and deque methods