摘要 |
PURPOSE:To facilitate a state shift processing and to reduce an OS overhead by providing a TSB (state block) corresponding to a relevant task number to obtain a TCB (task control block) which is chained to a queue in response to the task state. CONSTITUTION:When a start request is given to a task having a task number (n) in the form of a state shift request signal (q), a TSB searching part 1 acquires a TSB corresponding to the number (n) and chains a TCB to the execution queue of the TSB to output a dispatch request signal (d). When the task end is requested, the TCB is separated from the execution queue of the TSB and the signal (d) is outputted. When a task interruption request is supplied for the task number (n), the part 1 acquires the TSB corresponding to the number (n) and obtains the address of a chained TCB to send it to a task searching part 2 as a TCB address signal (a). The part 2 delivers a task state signal (t) to a task state processing part 3. Thus the state shift processing is facilitated and furthermore the OS overhead is reduced. |