A task can resume another task that called OSTimeDly()
or OSTimeDlyHMSM()
by calling OSTimeDlyResume()
. Listing 11-4 shows how to use OSTimeDlyResume()
. The task that delayed itself will not know that it was resumed, but will think that the delay expired. Because of this, use this function with great care.
Listing 11-4 OSTimeDlyResume()