In MQX3.8:
For short code block protection:
_int_disable()
_int_enable()
For other protection lightweigth semaphore:
_lwsem_create()
_lwsem_wait()
_lwsem_post()
Disabling task context switch but allows interrupts to run
_task_stop_preemption()
_task_start_preemption()
~Mark