Abstract:
정적 태스크 정의 기능을 가진 시스템을 위한 우선순위 재정의 및 대기큐 관리 방법과 상기 방법을 실행하는 시스템을 개시한다. 우선순위 재정의 및 대기큐 관리 방법은 운영체제에 의해 사전에 정의된 초기 우선순위를 기반으로 태스크에 할당하는 우선순위를 재 정의하는 단계; 및, 상기 재 정의된 우선순위의 개수에 따라 상기 태스크를 실행하기 위한 대기큐(ready queue)의 개수를 결정하는 단계를 포함할 수 있다. 운영체제, RTOS(real time operating system), 스케줄러(scheduler), 태스크(task), 우선순위, 대기큐(ready queue)
Abstract:
PURPOSE: An alarm management method of an OS(Operating System), the OS, and a recording medium thereof are provided to improve the whole performance of the OS by not checking the expiration of all alarms. CONSTITUTION: A list of alarms is arranged in order of shorter cycle values of an alarm delivering an event to an application(S310). When a current tick is generated, a current tick count value is compared with a cycle value of the alarm(S330). If the current tick count value is not greater than the cycle value, a current alarm is deleted from the list(S340). The current tick count value is greater than the cycle value, only a first alarm greater than the tick count value is checked(S360). [Reference numerals] (AA) Start; (S310) Arrange a list of alarms in order of shorter cycle; (S320) Is a current tick generated?; (S330) Tick count value > Cycle ?; (S340) Delete a current alarm from the list of alarms; (S360) Check the state of a first alarm with a cycle which is greater than the tick count value
Abstract:
PURPOSE: A priority re-defining for saving scheduling time, a delay queue management method, and a system performing the method are provided to save scheduling time of the operating system and reduce memory resources of a system. CONSTITUTION: An initial priority in a priority area supported in an operating system is stored in a task. A priority for redefinition in the task is calculated using the initial priority. Priority allocated on the task based on the initial priority which is pre-defined by the operation system is re-defined(S101). The number of ready queues for performing the task according to the number of the re-defined priorities is determined(S102).