Changeset 15127 for trunk/FACT++


Ignore:
Timestamp:
03/20/13 14:38:48 (12 years ago)
Author:
lyard
Message:
changed all sleep times to 1 usec
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilder.c

    r15126 r15127  
    17271727
    17281728      xwait.tv_sec = 0;
    1729       xwait.tv_nsec = 2000000;  // sleep for ~2 msec
     1729      xwait.tv_nsec = 1000;  // sleep for ~1 usec
    17301730      nanosleep (&xwait, NULL);
    17311731
     
    17661766
    17671767         xwait.tv_sec = 0;
    1768          xwait.tv_nsec = 2000000;       // sleep for ~2 msec
     1768         xwait.tv_nsec = 1000;       // sleep for ~1 umsec
    17691769         nanosleep (&xwait, NULL);
    17701770      }
     
    18631863         //seems we have nothing to do, so sleep a little
    18641864         xwait.tv_sec = 0;
    1865          xwait.tv_nsec = 2000000;       // sleep for ~2 msec
     1865         xwait.tv_nsec = 1000;       // sleep for ~1 usec
    18661866         nanosleep (&xwait, NULL);
    18671867      }
     
    21082108         //seems we have nothing to do, so sleep a little
    21092109         xwait.tv_sec = 0;
    2110          xwait.tv_nsec = 2000000;       // sleep for ~2 msec
     2110         xwait.tv_nsec = 1000;       // sleep for ~1 usec
    21112111         nanosleep (&xwait, NULL);
    21122112      }
     
    24532453         //seems we have nothing to do, so sleep a little
    24542454         xwait.tv_sec = 0;
    2455          xwait.tv_nsec = 2000000;       // sleep for ~2 msec
     2455         xwait.tv_nsec = 1000;       // sleep for ~1 usec
    24562456         nanosleep (&xwait, NULL);
    24572457      }
Note: See TracChangeset for help on using the changeset viewer.