互斥量
好像没有互斥量,信号量接收那儿有个图,互斥量似乎术语一类特殊的信号量。
信号量
12. Semaphore Manager
12.1. Introduction
The semaphore manager utilizes standard Dijkstra counting semaphores to provide synchronization and mutual exclusion capabilities. The directives provided by the semaphore manager are:
- - Create a semaphore
- - Get ID of a semaphore
- - Delete a semaphore
- - Acquire a semaphore
- - Release a semaphore
- - Unblock all tasks waiting on a semaphore
- - Set priority by scheduler for a semaphore
消息队列
14. Message Manager
14.1. Introduction
The message manager provides communication and synchronization capabilities using RTEMS message queues. The directives provided by the message manager are:
- - Create a queue
- - Get ID of a queue
- - Delete a queue
- - Put message at rear of a queue
- - Put message at front of a queue
- - Broadcast N messages to a queue
- - Receive message from a queue
- - Get number of messages pending on a queue
- - Flush all messages on a queue