On 31/03/15 16:46, Joel Sherrill wrote:
@@ -267,11 +269,13 @@ void _Thread_Clear_state(
>   *  @param[in] the_thread is the thread to set the state for.
>   *  @param[in] state is the state to set the_thread to.
>   *
>+ *  @return The previous state.
>+ *
>   *  - INTERRUPT LATENCY:
>   *   + ready chain
>   *   + select map
>   */
I don't think this comment still applies after refactoring out the
scheduler.
Is there even a disable interrupt in this code now?

Yes, the _Scheduler_Acquire/Release is a simple ISR disable/enable on uni-processor configurations.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to