Semaphore mechanism based on [mu] C/OS-II system
A semaphore and mechanism technology, applied in the field of embedded real-time operating systems, can solve the problem of high overhead of suspended tasks, and achieve the effect of speeding up communication and improving real-time performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] Add three members to the event control block, including the number of read request tasks OSReadCnt, the read request task table OSReadGrp and OSReadTbl[OS_READ_PRIO_SIZE] with the same structure as the continuing table; add two new states in the OSEventType of the event control block, read request The task occupies the state ROS_EVENT_TYPE_MUTEX and the write request task occupies the state WOS_EVENT_TYPE_MUTEX; add two new states in the OSTCBStatPend of the task control block, the read request pending state ROS_STAT_PEND_OK and the write request pending state ROS_STAT_PEND_OK.
[0016] The original kernel uses the lower 8 bits of OSEventCnt to judge whether the mutex semaphore is occupied, and it is impossible to determine whether it is occupied by a read task or a write task. Therefore, in order to achieve the purpose of multiple read tasks occupying the semaphore at the same time, the present invention uses the state OSEventType of the mutex semaphore as the judgment ...
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