diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 10:53:28 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-31 08:29:43 +0200 |
commit | 8690b53c85b7465340c3af5739714aa2a478b64a (patch) | |
tree | 6c999268cd2b37ffe3b0d7d3bee850f7933397ac /cpukit/rtems | |
parent | score: Fix thread restart extensions context (diff) | |
download | rtems-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/rtems')
-rw-r--r-- | cpukit/rtems/src/taskrestart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskrestart.c b/cpukit/rtems/src/taskrestart.c index ad446421f9..0b56ed5b18 100644 --- a/cpukit/rtems/src/taskrestart.c +++ b/cpukit/rtems/src/taskrestart.c @@ -33,7 +33,7 @@ rtems_status_code rtems_task_restart( switch ( location ) { case OBJECTS_LOCAL: - if ( _Thread_Restart( the_thread, NULL, argument ) ) { + if ( _Thread_Restart( the_thread, _Thread_Executing, NULL, argument ) ) { _Objects_Put( &the_thread->Object ); return RTEMS_SUCCESSFUL; } |