摘要 |
<p>PURPOSE:To provide a memory acquiring method in order to secure the effective use of a work area in a real time system where a processor carries out plural types of processing by dividing the system work areas into plural buffer block groups of each fixed size and then acquiring and returning the memory work areas among those buffer block groups. CONSTITUTION:In a real time system, a processor 100 acquires the memory work areas m1-mn out of the system work areas 200 for each of processing P1-Pn which are carried out by the processor 100. The areas 200 are divided into buffer block groups A1-Ai, B1-Bj and M1-Mk respectively of each fixed size. When the processing P1-Pn acquire each work area, a buffer block of the least necessary size is acquired for its own processing Pi among those groups A1-Ai, B1-Bj and m1-Mk.</p> |