Inter-Task Communication
- group OS_SYNC
Manage inter-task communication functions.
Tasks need to communicate with each other or access shared resources together. There are many ways to exchange data between tasks, for example using shared data, polling loops, and message passing.
Many resources can be considered as serially-reusable. This means that they can be used repeatedly by different tasks, but only by one task at a time.
The following mechanisms are available to the user:Lock
Semaphore
Mutex