RTEMS-Users questions to _CORE_mutex_Flush and _CORE_mutex_Surrender
Joel Sherrill
joel.sherrill at oarcorp.com
Fri Oct 6 12:18:26 UTC 2006
Thomas Doerfler wrote:
> Hi,
>
> this question is related to my other mail concerning the ATA subsystem:
>
> I am not quite sure about the behaviour of the two functions
> _CORE_mutex_Flush and _CORE_mutex_Surrender: can a calling task be
> preempted in these functions?
>
They are only supposed to be called from API level routines which
have thread dispatching disabled. So they should ready threads and
return to the API caller (rtems_semaphore_XXX) which enables
dispatching and allows the preempt.
I assume you mean tasking preemption.
--joel
> wkr,
> Thomas.
>
More information about the users
mailing list