Create a command queue.