Hi all,
I want to stop the task preemption and mask the ISR simultaneously. Do the function call _int_disable() is enough for this?
Or do I need to call _int_disable() for masking the ISR and task_stop_preemption() for stopping the task preemption as follows?
...
...
_int_disable();
_task_stop_preemption();
...
...
_task_start_preemption();
_int_enable();
...
...
OS: MQX 4.0.2
Note: FIFO scheduling is used.
Thanks
Akhil