摘要 |
An information processing apparatus which creates and executes a thread by request from an application program. In the information processing apparatus, a thread-creation-request receiving unit receives from the application program a request for creation of a first thread, a thread creation unit creates the first thread in response to the request received by the thread-creation-request receiving unit, a first thread execution unit executes the first thread created by the thread creation unit, a thread-creation-request holding unit holds the request received by the thread-creation-request receiving unit, when the thread creation unit fails in creation of the first thread, and a second thread execution unit executes processing corresponding to the request held by the thread-creation-request holding unit. When execution of a second thread by the first thread execution unit is completed, the second thread execution unit may execute processing corresponding to the request held by the thread-creation-request holding unit, by reusing an arrangement which is provided for supporting and managing the second thread, without newly creating the first thread in response to the request held by the thread-creation-request holding unit.
|