As we conclude, here is a list of questions for you to test your knowledge regarding this chapter's material. You will find the answers in the Assessments section of the Appendix:
- Which RTOS primitive is most commonly used for sending and receiving data between tasks?
- Is it possible for a queue to interact with more than two tasks?
- Which RTOS primitive is commonly used for signaling and synchronizing tasks?
- What is an example of when a counting semaphore could be used?
- Name one major difference between binary semaphores and mutexes.
- When protecting a resource shared between tasks, should a binary semaphore or a mutex be used?
- What is priority inversion and why is it dangerous for a real-time system?