summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-13 14:07:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:49:39 +0200
commit33829ce155069462ba410d396da431386369ed08 (patch)
treebd4d700e4a567280c6b2aa3e8f43c3997d20d9e7 /cpukit/score/include/rtems/score/threadimpl.h
parentposix: Rework pthread_join() (diff)
downloadrtems-33829ce155069462ba410d396da431386369ed08.tar.bz2
score: Avoid Giant lock for _Thread_Start()
Update #2555.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h18
1 files changed, 2 insertions, 16 deletions
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