欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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:

CMSIS-RTOS Inter-Thread Communication and Resource Sharing(Signal Events)

相关标签: FreeRTOS