diff options
author | Gedare Bloom <gedare@rtems.org> | 2016-07-26 14:13:36 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2016-07-26 14:13:36 -0400 |
commit | 39d97ab78cfcc37eb8b1e7d9f9717f51b249155b (patch) | |
tree | 0e8b7bc223742bb298a956f4f861bfe3ea02cb37 /cpukit/score/include/rtems/score/threadqimpl.h | |
parent | atsam: Add user defined RX/TX descriptor counts (diff) | |
download | rtems-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.h | 2 |
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 ) |