Thread with vTaskDelay() runs periodically, but vTaskDelayUntil() seems to block the Thread indefinitely

Namaste @rtel and @jefftenney,

Now here’s an interesting observation :thinking:

Just got a thought to verify the behaviour of vTaskDelayUntil() within a thread created using Iot_CreateDetachedThread() instead of xTaskCreate().

Thread creation statement is as below.

status = (int) Iot_CreateDetachedThread( pvThread_A,
                                         NULL,
                                         IOT_THREAD_DEFAULT_PRIORITY,
                                         IOT_THREAD_DEFAULT_STACK_SIZE );

Interestingly, the Thread_A executes as desired, with the debug print statements being viewed on the console periodically. I further verified the observation by providing different time-periods to the vTaskDelayUntil() and, the observations match the expected result.

Thanks | Regards,
Dipen