Hi,
I am using CMSIS Free RTOS.
I see osThreadFlagsSet() function is using xTaskNotifyFromISR() and xTaskNotifyAndQueryFromISR() APIs. I understand their usage. As per my understanding
(void)xTaskNotifyAndQueryFromISR (hTask, flags, eSetBits, &rflags, &yield); will serve the purpose. Can any one explain which particular use case is being addressed by calling both of these.
https://github.com/ARM-software/CMSIS-FreeRTOS/blob/develop/CMSIS/RTOS2/FreeRTOS/Source/cmsis_os2.c
Thanks,