CMSIS-RTOS Inter-Thread Communication and Resource Sharing(Signal Events)
程序员文章站
2024-02-22 18:22:58
...
CMSIS-RTOS
Signal Events
线程通信中的信号事件
Description
signals are used trigger execution states between threads.The signal management
functions in CMSIS-RTOS allow you to control or wait for signal flags.Each thread
has up to 31 assigned signal flags.The Maximum number of signal flags in the
信号量用于触发线程之间的执行状态。
Working with Signals
Here is a simple example that shows how two thread can communicate with each
others using signls: