Go to the source code of this file.
◆ __XPLAT
◆ clockid_t
(__EDC_TARGET < 0x42050000) && defined(ZOSLIB_ENABLE_V2R5_FEATURES)
Enumerator |
---|
CLOCK_REALTIME | |
CLOCK_MONOTONIC | |
CLOCK_HIGHRES | |
CLOCK_THREAD_CPUTIME_ID | |
◆ __nanosleep()
__Z_EXPORT int __nanosleep |
( |
const struct timespec * |
req, |
|
|
struct timespec * |
rem |
|
) |
| |
Suspends the execution of the calling thread until either at least the time specified in *req has elapsed, an event occurs, or a signal arrives.
- Parameters
-
[in] | req | struct used to specify intervals of time with nanosecond precision |
[out] | rem | the remaining time if the call is interrupted |
◆ clock_gettime()
◆ nanosleep()
__Z_EXPORT int nanosleep |
( |
const struct timespec * |
, |
|
|
struct timespec * |
|
|
) |
| |