Task Lock & Task Unlock
timcussins at eml.cc
Fri Jan 18 07:52:26 CST 2008
On Fri, 18 Jan 2008 10:23:51 -0300, "Gatti André" <agatti at invap.com.ar>
> We need to lock and unlock tasks to avoid task context switching. I
> didn't see this functionallity in the user_c manual. Is there a way to
> lock/unlock tasks?
You can change a tasks mode to RTEMS_NO_PREEMPT. In this case, it can't
be preempted until it issues a call that blocks, or it explicitly
However, if an ISR unblocks a higher priority task, I'm not entirely
sure what happens on ISR exit...
More information about the rtems-users