1. An information processing apparatus which makes a plurality of threads concurrently execute tasks stored in a task queue associated with the thread a prescribed number of times of execution, the information processing apparatus comprising: a processor that executes the plurality of threads, each of the plurality of threads executes a procedure, the procedure including: generating a task from among a plurality of tasks into which a serial program processing corresponding to a processing request is divided; selecting the task queue associated with one of the plurality of threads; enqueuing the generated task to the selected task queue; dequeuing the enqueued task to the task queue associated with the thread; and executing the dequeued task.