44 #ifndef PA_PTHREAD_UTIL_H
45 #define PA_PTHREAD_UTIL_H
48 #include <sys/types.h>
49 #if !(defined(WIN32) || defined(_WIN32))
73 #if defined(CLOCK_REALTIME) && !defined(__APPLE__)
74 #define PAUTIL_USE_POSIX_ADVANCED_REALTIME 1
76 #define PAUTIL_USE_POSIX_ADVANCED_REALTIME 0
79 #if PAUTIL_USE_POSIX_ADVANCED_REALTIME
81 #define PaUtilClockId clockid_t
85 #define PaUtilClockId int
PaUtilClockId PaPthreadUtil_NegotiateCondAttrClock(pthread_condattr_t *cattr)
Definition: pa_pthread_util.c:49
int PaPthreadUtil_GetTime(PaUtilClockId clockId, struct timespec *ts)
Definition: pa_pthread_util.c:85
#define PaUtilClockId
Definition: pa_pthread_util.h:85