Ignore:
Timestamp:
Jul 26, 2016, 6:13:36 PM (3 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
master
Children:
dfa2cdb
Parents:
f6fdf2e
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/threadqimpl.h

    rf6fdf2e r39d97ab  
    433433  Thread_Control                *the_thread,
    434434  States_Control                 state,
    435   Watchdog_Interval              timeout,
     435  uint64_t                       timeout,
    436436  Watchdog_Discipline            discipline,
    437437  uint32_t                       expected_level
Note: See TracChangeset for help on using the changeset viewer.