In xTaskResumeAll funtion,if there is tasks have been resume from ISR when scheduler was suspended, we will update next task unblock time
But I don’t konw the specific scenario of this problem. Why we have to update unblock time
In xTaskResumeAll funtion,if there is tasks have been resume from ISR when scheduler was suspended, we will update next task unblock time
But I don’t konw the specific scenario of this problem. Why we have to update unblock time
The code you highlight is executed by many different paths through the kernel code. As per the comment, it is required in some scenarios when tickless idle mode is used - but none of those scenarios involve resuming a task from an ISR if by ‘resuming’ you mean calling xTaskResumeFromISR() API function as opposed to unblocking a task that was waiting for an event.
Thanks for your help, and your answer enlightened me, thank you