'CMSIS FreeRTOS Suspend a Sleeping Thread

Does anyone know what happens if I call osThreadSuspend on a task that is waiting during a call to osDelay? Does the task continue to delay after it is woken up, or does the time spend suspended count as part of the delay?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source