Method for managing multiple tasks of software based on C language
A management software, multitasking technology, applied in the field of intelligent management, can solve the problems of increasing debugging difficulty, large amount of code, affecting development efficiency, etc., to achieve strong reproducibility and portability, good code encapsulation and high debugging efficiency. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0031] The method for realizing management software multitasking based on C language comprises the following steps:
[0032] 1. As mentioned above, each task in TCB is defined as a node, and the purpose of task management is achieved through the management of nodes. First, it is necessary to define the management functions of TCB, including TCB scheduling and dispatching task functions, and traversing TCB tasks Linked list functions, adding node functions to the TCB management linked list, deleting specified nodes to the TCB management linked list, deleting the entire TCB management linked list, searching for specified nodes through command IDs, traversing the entire TCB linked list and calling its task functions in turn.
[0033] 2. Determine the task ID, task type, initialization entry function and exit function according to the requirements, and create a single task collection TCB task. Take creating a server monitoring task as an example: define the task ID as SERVER_CONNE...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com