摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a task scheduling device for solving the problem that a message is discarded when a message is transmitted and received between tasks. <P>SOLUTION: A message transfer part 12 transmits a message in a message reception queue corresponding to a task under execution to the message reception queue of the destination of transmission. A congestion detection part 13 decides whether or not the stay quantity of the message reception queue of the destination of transmission is equal to or more than a congestion generation threshold. When it is decided that the stay quantity is equal to or more than the congestion generation threshold by the congestion detection part 13, a scheduler management part 15 stops the transmission of a message by a message transfer part 12, and changes priority of the task corresponding to the message reception queue of the destination of transmission in a ready queue to priority higher than the priority of the task under execution. Then, the scheduler management part 15 ends the task under execution. <P>COPYRIGHT: (C)2010,JPO&INPIT</p> |