Is it possible to pause FreeRTOS?

kuku2010 wrote on Monday, January 18, 2010:

I use FreeRTOS in our AVR32 project.

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

Is this possible?

Thanks!

edwards3 wrote on Monday, January 18, 2010:

vTaskSuspendAll()?

richard_damon wrote on Monday, January 18, 2010:

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…

kuku2010 wrote on Tuesday, January 19, 2010:

Thank you both, I will give it a try!