I have a section of codes that are *VERY* time-sensitive, so I would like to pause FreeRTOS temporary while polling a hardware counter, when the counter expires, I will resume RTOS
If it is really time critical, you probably want to disable the interrupts, so nothing can interfere with the code. No interrupts, not possibility of preemption…