diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-14 15:14:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-17 08:15:40 +0200 |
commit | bf2a53d272107b8b224b1a48694da24d2d042442 (patch) | |
tree | 397d8f4917dcf8ca017aff215bdcf1d5de786f84 /cpukit/score/src/threadqenqueue.c | |
parent | f4009d8b8e0c55a582dfd76f9c49d7dcfef44fae (diff) |
score: Rename watchdog variants
Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to
highlight the corresponding POSIX CLOCK_MONOTONIC.
Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to
highlight the corresponding POSIX CLOCK_REALTIME.
Update #3117.
Update #3182.
Diffstat (limited to 'cpukit/score/src/threadqenqueue.c')
-rw-r--r-- | cpukit/score/src/threadqenqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c index 1f5a9c1660..df1bea02cb 100644 --- a/cpukit/score/src/threadqenqueue.c +++ b/cpukit/score/src/threadqenqueue.c @@ -385,7 +385,7 @@ static void _Thread_queue_Timeout( case WATCHDOG_RELATIVE: /* A relative timeout of 0 is a special case indefinite (no) timeout */ if ( queue_context->timeout != 0 ) { - _Thread_Timer_insert_relative( + _Thread_Timer_insert_monotonic( the_thread, cpu_self, _Thread_Timeout, @@ -394,7 +394,7 @@ static void _Thread_queue_Timeout( } break; case WATCHDOG_ABSOLUTE: - _Thread_Timer_insert_absolute( + _Thread_Timer_insert_realtime( the_thread, cpu_self, _Thread_Timeout, |