A time processing method of message and embedded multiple task operating system
A technology of operating system and processing method, applied in the field of embedded multi-tasking operating system, can solve the problems of wasting system resources, unable to guarantee the execution time of messages or tasks, etc.
Image
Examples
Embodiment Construction
[0031] The present invention provides a timely message processing method, which is applied to an embedded multitasking operating system, including:
[0032] When the task receives the message, it judges whether the currently received message needs to be processed in time. If it needs to be processed in time, the timer is started. When the timer interrupt occurs, the timer interrupt processing program is executed. The specific job that the message corresponds to.
[0033] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0034] Referring to Fig. 1, it is a flowchart of a method embodiment of the present invention, including the following specific steps:
[0035] Step S101, after the system is started, create a task in the system, and the system stores corresponding functions that pre-encapsulate the work content related to different types of messages of the task;
[0036] Step S102, the created task starts; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
- IPC
- G06F9/46; G06F9/48
- Inventors
- 唐勉
