diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-06 15:28:41 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-14 16:26:07 +0200 |
commit | 1ccb64e18f1e4c1f51c12b9dc31a881e2829b2b6 (patch) | |
tree | cc5940c391f4e6fcdd63ec31fd129126d84b2329 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Simplify _Thread_Create_idle() (diff) | |
download | rtems-1ccb64e18f1e4c1f51c12b9dc31a881e2829b2b6.tar.bz2 |
scheduler: Add start idle thread operation
Add and use _Scheduler_Start_idle().
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 3cddb5a3e9..60583a77c0 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -571,13 +571,17 @@ bool _Thread_Initialize( * @param entry_point * @param pointer_argument * @param numeric_argument + * @param[in/out] processor The processor if used to start an idle thread + * during system initialization. Must be set to @c NULL to start a normal + * thread. */ bool _Thread_Start( Thread_Control *the_thread, Thread_Start_types the_prototype, void *entry_point, void *pointer_argument, - Thread_Entry_numeric_type numeric_argument + Thread_Entry_numeric_type numeric_argument, + Per_CPU_Control *processor ); /** |