摘要 |
PURPOSE: A method for allocating and cancelling memories using free memory block array is provided to achieve memory block allocation rapidly by arraying free memory blocks in sizing sequence using time remained after the execution of application programs. CONSTITUTION: If there is no application program to be carried out, memory blocks are arrayed in the order of size. If memory allocation is required in the execution of an application program, the arrayed memory blocks are assigned. In case that there is an application program task to be executed, a real-time processor carries out the application program task. Then, if there is no application program to be executed, the processor carries out memory array process of which the priority is lower than the application program.
|