summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadqimpl.h
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2016-07-26 14:13:36 -0400
committerGedare Bloom <gedare@rtems.org>2016-07-26 14:13:36 -0400
commit39d97ab78cfcc37eb8b1e7d9f9717f51b249155b (patch)
tree0e8b7bc223742bb298a956f4f861bfe3ea02cb37 /cpukit/score/include/rtems/score/threadqimpl.h
parentatsam: Add user defined RX/TX descriptor counts (diff)
downloadrtems-39d97ab78cfcc37eb8b1e7d9f9717f51b249155b.tar.bz2
cpukit: refactor nanosleep and use 64-bit timeout for threadq
* Fixes a bug with elapsed time calculations misusing absolute time arguments in nanosleep_helper by passing the requested relative interval. * Fixes a bug with truncation of absolute timeouts by passing the full 64-bit value to Thread_queue_Enqueue. * Share yield logic between nanosleep and clock_nanosleep. updates #2732
Diffstat (limited to 'cpukit/score/include/rtems/score/threadqimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadqimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/threadqimpl.h b/cpukit/score/include/rtems/score/threadqimpl.h
index 2d396cb7ed..e7db7bb6c0 100644
--- a/cpukit/score/include/rtems/score/threadqimpl.h
+++ b/cpukit/score/include/rtems/score/threadqimpl.h
@@ -432,7 +432,7 @@ RTEMS_INLINE_ROUTINE void _Thread_queue_Enqueue(
const Thread_queue_Operations *operations,
Thread_Control *the_thread,
States_Control state,
- Watchdog_Interval timeout,
+ uint64_t timeout,
Watchdog_Discipline discipline,
uint32_t expected_level
)