FreeRTOS - Task Notifications
You want to synchronize two tasks using
xTaskNotifyGive() as a lightweight semaphore. TaskA waits for a notification, and TaskB signals it. Which of the following sequences correctly implements this synchronization?