summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulerimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-16 17:08:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-22 14:37:10 +0200
commit9a78f8a5076687a8744991998ee6119f87db12a8 (patch)
treea5ed0e9b476714a697667328c5535a07d2d02154 /cpukit/score/include/rtems/score/schedulerimpl.h
parentscore: Remove hidden deadline overrule for CBS (diff)
downloadrtems-9a78f8a5076687a8744991998ee6119f87db12a8.tar.bz2
score: Modify release job scheduler operation
Pass the deadline in watchdog ticks to the scheduler. Update #2173.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulerimpl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h
index 36214729d7..edad0d3fd4 100644
--- a/cpukit/score/include/rtems/score/schedulerimpl.h
+++ b/cpukit/score/include/rtems/score/schedulerimpl.h
@@ -522,16 +522,16 @@ RTEMS_INLINE_ROUTINE void _Scheduler_Update_priority(
* @brief Releases a job of a thread with respect to the scheduler.
*
* @param[in] the_thread The thread.
- * @param[in] length The period length.
+ * @param[in] deadline The deadline in watchdog ticks since boot.
*/
RTEMS_INLINE_ROUTINE void _Scheduler_Release_job(
Thread_Control *the_thread,
- uint32_t length
+ uint64_t deadline
)
{
const Scheduler_Control *scheduler = _Scheduler_Get( the_thread );
- ( *scheduler->Operations.release_job )( scheduler, the_thread, length );
+ ( *scheduler->Operations.release_job )( scheduler, the_thread, deadline );
}
/**