Ignore:
Timestamp:
Apr 22, 1997, 8:19:25 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7346e5f
Parents:
e0de6ef
Message:

Patch from Chris John <cjohns@…> to add use of a select statement
in the unix port idle thread task. This should keep the entire application
from blocking when any component does a blocking application. Also added
TOD_MICROSECONDS_TO_TICKS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/include/rtems/score/tod.h

    re0de6ef r0a6fb22  
    237237
    238238/*
     239 *  TOD_MICROSECONDS_TO_TICKS
     240 *
     241 *  DESCRIPTION:
     242 *
     243 *  This routine converts an interval expressed in microseconds to ticks.
     244 *
     245 *  NOTE:
     246 *
     247 *  This must be a macro so it can be used in "static" tables.
     248 */
     249
     250#define TOD_MICROSECONDS_TO_TICKS(_us) \
     251    ((_us) / _TOD_Microseconds_per_tick)
     252
     253/*
    239254 *  TOD_MILLISECONDS_TO_TICKS
    240255 *
Note: See TracChangeset for help on using the changeset viewer.