Operation mode of task state machine management mechanism of embedded real-time operating system
The invention relates to the technical field of operating system and discloses an operation method of a task state machine management mechanism. To solve the technical problems of complex design and the like in the prior art, the invention provides the technical scheme which is shown in the specific...
Saved in:
Main Authors | , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
23.02.2011
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to the technical field of operating system and discloses an operation method of a task state machine management mechanism. To solve the technical problems of complex design and the like in the prior art, the invention provides the technical scheme which is shown in the specification. The operation mode is characterized by using more than two matched task state machines and comprising the following steps of: 1, initializing; 2, judging whether an event occurs or not and collecting the information; if the event does not occur, continuing collecting and judging; if an event occurs, turning to a step 3; 3, acquiring an index number of the event; 4, searching a response action list of the event according to the acquired index number of the event and acquiring relevant content; 5, executing actions regulated by the relevant content in the action list; and 6, turning to the step 2. The operation mode has the advantages that: a uniform task state machine management mechanism is added, so that th |
---|---|
Bibliography: | Application Number: CN20101511978 |