#include "ac/f2c.h"
#include "math.h"
Go to the source code of this file.
#define MBSLEEP_ISZERO |
( |
|
mbs | ) |
((mbs) == 0) |
Definition at line 49 of file mbsleep.c.
Referenced by HighParser::GetTimeout().
55 #if defined(HAVE_NANOSLEEP)
56 t->tv_sec = (time_t)floor(d);
57 t->tv_nsec = (long)floor((d - t->tv_sec)*1000000000);
58 #elif defined(HAVE_USLEEP)
59 *t = (
unsigned long)floor(d*1000000);
60 #elif defined(HAVE_SLEEP)
62 *t = (
unsigned int)floor(d);
Definition at line 74 of file mbsleep.c.
Referenced by HighParser::GetTimeout().
76 #if defined(HAVE_NANOSLEEP)
77 *d = ((
doublereal)(t->tv_nsec))/1000000000 + t->tv_sec;
78 #elif defined(HAVE_USLEEP)
80 #elif defined(HAVE_SLEEP)