hello, I have a task that needs to query the value of a global variable that is also accessed in an ISR. it is a mistake to have the task scheduler preempt my task while the interrupt like is disabled, so I can access it safely?