24 #include <sys/types.h> 28 #include <coil/TimeValue.h> 54 inline unsigned int sleep(
unsigned int seconds)
83 tv.tv_sec = interval.
sec();
84 tv.tv_usec = interval.
usec();
85 return ::select(0, 0, 0, 0, &tv);
109 inline int usleep(useconds_t usec)
197 #endif // COIL_TIME_H long int sec() const
Get value of second time scale.
unsigned int sleep(unsigned int seconds)
Stop a processing at specified second time.
int gettimeofday(struct timeval *tv, struct timezone *tz)
Get the time and timezone.
int sleep(TimeValue interval)
Stop a processing at specified second time.
int settimeofday(const struct timeval *tv, const struct timezone *tz)
Set the time and timezone.
long int usec() const
Get value of micro second time scale.
int usleep(useconds_t usec)
Stop a processing at specified micro second time.
Common Object Interface Layer.