摘要 |
<p>PURPOSE: A method generating a single thread program capable of executing an asynchronous multi task model and a recording medium including the program have no a limit condition for an execution period of task models and normally execute the multi task model even in that case of desynchronizing a basic execution period of the single thread program. CONSTITUTION: The standard clock(101) which is periodically updated based on a basic execution cycle of single thread programs(100) is established in the single thread program. An internal clock(111,121,131,141) is established in task models(110~140) executing a task in the single thread program. Whenever the standard clock is periodically updated, time of the internal clock and the standard clock is compared. When the standard clock is faster than the time of the internal clock, the task is executed through the task model. [Reference numerals] (101) Standard clock; (110) Model A; (111) Internal clock A; (120) Model B; (121) Internal clock B; (130) Model C; (131) Internal clock C; (140) Model D; (141) Internal clock D</p> |