DEMONSTRATION OF SIGNAL (EVENT & FLAG) in MBED RTOS. One Thread set particular signal and another thread receive it and proceed according signal state.

README.md

Committer:
radhey04ec
Date:
2020-08-05
Revision:
1:9dbbb3022957
Parent:
0:747de80ae2bd

File content as of revision 1:9dbbb3022957:

SIGNAL USAGE INSIDE RTOS


What is Signal ?  - Answer : Remember these five points

1) Signals are different from all the other types of kernel object in that they are not autonomous (user need to control or set - No automatioc control like semaphore)
2) signals are associated with tasks/Threads and have no independent existence. 
3) If signals are configured for an application, each task has a set of eight signal flags.

4) Any task can set the signals of another task. Only the owner task can read the signals. 
5) The read is destructive – i.e. the signals are cleared by the process of reading. No other task can read or clear a task’s signals.

JAYDEEP SHAH
radhey04ec@gmail.com