发明名称 STACK ALLOCATING METHOD
摘要 PURPOSE:To effectively utilize a memory by setting previously the initial value of a proper stack size at a table updating the initial value with the value added with the stack extension value when a stack extension request is produced and at the same time allocating the stacks by the number equal to the size stored in a corresponding table when a task is started. CONSTITUTION:An operating system OS searches a task execution waiting list to decide a desired task and starts this task. In this case, a physical memory is secured for the stack allocation size l stored in a control table TCB and a mapping task is carried out to a logic space. If the stacks run short in an execution mode, the OS secures a physical memory to the short staks and has a mapping task to a logical space. Then the extended size (m) is added to the size l in the TCB. When a task is through and set under an execution enable state, the task is registered again into the task execution waiting list. Then a stack physical memory having a size (l-m) changed when the task is started in the preceding time is secured when a task is started by the OS.
申请公布号 JPS63172346(A) 申请公布日期 1988.07.16
申请号 JP19870003224 申请日期 1987.01.12
申请人 HITACHI LTD 发明人 NAKAMURA TOMOAKI;KANEKO SHIGENORI;KAWAKAMI SETSUO;NISHIYAMA SHUJI;AKITA TOSHIAKI
分类号 G06F9/46;G06F9/48 主分类号 G06F9/46
代理机构 代理人
主权项
地址