Changeset d16d07f in rtems


Ignore:
Timestamp:
Oct 20, 2017, 6:42:55 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7ed377b
Parents:
adaf5c23
git-author:
Sebastian Huber <sebastian.huber@…> (10/20/17 06:42:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/24/17 07:37:27)
Message:

score: Add _Watchdog_Is_valid_interval_timespec()

Update #3117.
Update #3182.

File:
1 edited

Legend:

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

    radaf5c23 rd16d07f  
    313313}
    314314
     315RTEMS_INLINE_ROUTINE bool _Watchdog_Is_valid_interval_timespec(
     316  const struct timespec *ts
     317)
     318{
     319  return _Watchdog_Is_valid_timespec( ts ) && ts->tv_sec >= 0;
     320}
     321
    315322RTEMS_INLINE_ROUTINE bool _Watchdog_Is_far_future_realtime_timespec(
    316323  const struct timespec *ts
Note: See TracChangeset for help on using the changeset viewer.