diff options
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/score/statesimpl.h | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 18 |
2 files changed, 3 insertions, 17 deletions
diff --git a/cpukit/score/include/rtems/score/statesimpl.h b/cpukit/score/include/rtems/score/statesimpl.h index 54052e2b74..596246c422 100644 --- a/cpukit/score/include/rtems/score/statesimpl.h +++ b/cpukit/score/include/rtems/score/statesimpl.h @@ -123,7 +123,7 @@ extern "C" { STATES_WAITING_FOR_SYSTEM_EVENT | \ STATES_INTERRUPTIBLE_BY_SIGNAL ) -/** All state bits set to one (provided for _Thread_Ready()) */ +/** All state bits set to one (provided for _Thread_Start()) */ #define STATES_ALL_SET 0xffffffff /** diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index cdd7f9b300..6f97ca9866 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -187,7 +187,8 @@ bool _Thread_Initialize( */ bool _Thread_Start( Thread_Control *the_thread, - const Thread_Entry_information *entry + const Thread_Entry_information *entry, + ISR_lock_Context *lock_context ); void _Thread_Restart_self( @@ -288,21 +289,6 @@ States_Control _Thread_Set_state( ); /** - * @brief Clears all thread states. - * - * In case the previous state is a non-ready state, then the thread is - * unblocked by the scheduler. - * - * @param[in] the_thread The thread. - */ -RTEMS_INLINE_ROUTINE void _Thread_Ready( - Thread_Control *the_thread -) -{ - _Thread_Clear_state( the_thread, STATES_ALL_SET ); -} - -/** * @brief Initializes enviroment for a thread. * * This routine initializes the context of @a the_thread to its |