摘要 |
PURPOSE: A method for managing an IPC task and a memory is provided to assign tasks according to an RTR(Real Time Request) value, so as to synchronize the tasks and prevent the displacement of priority as well as smoothly managing tokens for assigning resources. CONSTITUTION: A controller maintains a standby state(100). The controller checks whether a resource assignment request is generated from a predetermined task(102). If so, the controller assigns resources(104). The controller checks whether a token is returned from a resource assigned with tokens(106). If not, the controller checks whether other task requests a token(108). If so, the controller checks whether an RTR value of the task requesting the token is T(True)(110). If so, the controller receives a returned token from a presently-working task, and holds the working(116). The controller sets priority of the presently-working task to top, and records the task in a standby list(118). The controller assigns a resource to the task having the true RTR value(120), and returns to the step '108'.
|