Using vApplicationTickHook()

I’d like to use xQueueSendFromISR() inside  vApplicationTickHook(). But, how does the task preemption flag pxHigherPriorityTaskWoken get passed back to the kernel, since vApplicationTickHook() has a void return value?

Using vApplicationTickHook()

The tick interrupt will ALWAYS do a reschedule (unless the schedule is disabled), so it doesn’t need the flag.

Using vApplicationTickHook()

Thank you.