摘要 |
PROBLEM TO BE SOLVED: To realize error-free and efficient memory area allocation in a situation in which a plurality of threads access a memory area in parallel. SOLUTION: An information processing device holds, as thread management information, a thread list having thread information in which entry time information for each thread is recorded. The information processing device also holds, as memory area management information, a release queue as a queue with the record of a release request time for each area unit for a memory area which a memory release request has been made for and is not yet released. When allocating a memory area, the release request time set for each queue of the release queue is compared to the oldest entry time of the thread list, and memory area allocation processing is executed for the queue element for which the release request time is set before the oldest entry time. With this configuration, only a memory area not set as an access target can surely be selected and allocated. COPYRIGHT: (C)2006,JPO&NCIPI
|