summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 10:53:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-31 08:29:43 +0200
commit8690b53c85b7465340c3af5739714aa2a478b64a (patch)
tree6c999268cd2b37ffe3b0d7d3bee850f7933397ac /cpukit/score/include/rtems/score/threadimpl.h
parentscore: Fix thread restart extensions context (diff)
downloadrtems-8690b53c85b7465340c3af5739714aa2a478b64a.tar.bz2
score: Add parameter to _Thread_Restart()
The executing thread will be later used for a common implementation with _Thread_Close().
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index 57eb85612f..2e31753817 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -187,17 +187,9 @@ bool _Thread_Start(
Per_CPU_Control *processor
);
-/**
- * @brief Restarts the specified thread.
- *
- * This support routine restarts the specified task in a way that the
- * next time this thread executes, it will begin execution at its
- * original starting point.
- *
- * TODO: multiple task arg profiles
- */
bool _Thread_Restart(
Thread_Control *the_thread,
+ Thread_Control *executing,
void *pointer_argument,
Thread_Entry_numeric_type numeric_argument
);