This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

tsk_lock() and tsk_unlock()

Hallo,

i use tsk_lock() for disables task switching(on Arm Cortex-M3)
is this the same function as NVIC_DisableIRQ(SysTick_IRQn)

i wonder because tsk_lock() takes longer then calling
NVIC_DisableIRQ(SysTick_IRQn)

Rgds,
Willi Huber

Parents Reply Children
  • Per,
    I wouldn't worry too much. I don't care what he writes or says (I would have if it contained something other than unsuccessful attempts to annoy, thus: meaningful payload. Maybe he was personally offended by me "abusing" RTX (I never did and don't now - I was merely pointing out a feature). Let him talk. Wow, big deal. He really is convinced he looks smart. OK. Let's move on.