diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-26 21:16:09 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-08 10:25:33 +0200 |
commit | ca10004ef252b3ef7da95d3b9e7437c5c9256d20 (patch) | |
tree | be51aebf46b16b37639abbe8b7719adea9b82e7e /cpukit/score/include/rtems | |
parent | fstests/fsfseeko01: Fix for long == off_t (diff) | |
download | rtems-ca10004ef252b3ef7da95d3b9e7437c5c9256d20.tar.bz2 |
score: Simplify _Thread_Set_state()
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r-- | cpukit/score/include/rtems/score/threadimpl.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h index 551df452d6..f32362f7e2 100644 --- a/cpukit/score/include/rtems/score/threadimpl.h +++ b/cpukit/score/include/rtems/score/threadimpl.h @@ -258,18 +258,13 @@ void _Thread_Clear_state( ); /** - * @brief Sets the indicated @a state for @a the_thread. + * @brief Sets the specified thread state. * - * This routine sets the indicated @a state for @a the_thread. It performs - * any necessary scheduling operations including the selection of - * a new heir thread. - * - * @param[in] the_thread is the thread to set the state for. - * @param[in] state is the state to set the_thread to. + * In case the previous state is the ready state, then the thread is blocked by + * the scheduler. * - * - INTERRUPT LATENCY: - * + ready chain - * + select map + * @param[in] the_thread The thread. + * @param[in] state The state to set. It must not be zero. */ void _Thread_Set_state( Thread_Control *the_thread, |