摘要 |
PROBLEM TO BE SOLVED: To improve the immediacy of the entire real time OS by registering a task with a wait queue at the time of a wait system call and performing no elimination from an executable queue in the wait system call. SOLUTION: At ask B is registered with a wait queue. When a task A issues a wait system call, the task A is registered with the wait queue by a wait queue registering means 104. Next, the task A is set to a wait state to make it an interrupt allowable state and a scheduler is called. The scheduler retrieves an executable queue in which an executable task exists. In a rising system call for a task, a wait queue eliminating means 105 eliminates the task B from the wait queue. An executable queue entry changing means 106 changes the entry order of the task B to the last. And, the scheduler is called.
|