Adding a memory pool to the single producer single consumer queue.