diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-17 14:31:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-17 14:31:46 +0000 |
commit | 3203e09507da6484f267605793fd770586a63d55 (patch) | |
tree | 882a86450acc183b1485995ae7b14e430e27a358 /cpukit/rtems | |
parent | 2011-04-10 Kate Feng <feng@bnl.gov> (diff) | |
download | rtems-3203e09507da6484f267605793fd770586a63d55.tar.bz2 |
2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1819/cpukit
* rtems/src/clocktick.c, score/Makefile.am,
score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/schedulersimple.h,
score/include/rtems/score/schedulersimplesmp.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/scheduler.inl: Add a scheduler entry point
which is invoked at each clock tick. _Thread_Tickle_timeslice() is
now a method owned by the Deterministic Priority Scheduler and shared
by the Simple Priority Scheduler. The Simple SMP Scheduler has its
own variation on this which does timeslicing bookkeeping on all
cores.
* score/src/schedulerprioritytick.c,
score/src/schedulersimplesmptick.c: New files.
* score/src/threadtickletimeslice.c: Removed.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/src/clocktick.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/rtems/src/clocktick.c b/cpukit/rtems/src/clocktick.c index f02f48fb45..fa8a454070 100644 --- a/cpukit/rtems/src/clocktick.c +++ b/cpukit/rtems/src/clocktick.c @@ -1,7 +1,5 @@ /* - * Clock Manager - * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -45,7 +43,7 @@ rtems_status_code rtems_clock_tick( void ) _Watchdog_Tickle_ticks(); - _Thread_Tickle_timeslice(); + _Scheduler_Tick(); if ( _Thread_Is_context_switch_necessary() && _Thread_Is_dispatching_enabled() ) |