Management Model for Two Parallel FIFO Queues Moving One after Another in Shared Memory