|
|
|
|
@ -57,10 +57,10 @@ int pthread_barrier_wait(pthread_barrier_t *barrier)
@@ -57,10 +57,10 @@ int pthread_barrier_wait(pthread_barrier_t *barrier)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef _DARWIN_FEATURE_CLOCK_GETTIME |
|
|
|
|
/**
|
|
|
|
|
* Missing POSIX RealTime/Monotonic Clock |
|
|
|
|
*/ |
|
|
|
|
/*
|
|
|
|
|
#include <mach/mach_time.h> |
|
|
|
|
|
|
|
|
|
int clock_gettime(int clk_id, struct timespec *t) { |
|
|
|
|
@ -74,5 +74,6 @@ int clock_gettime(int clk_id, struct timespec *t) {
@@ -74,5 +74,6 @@ int clock_gettime(int clk_id, struct timespec *t) {
|
|
|
|
|
t->tv_nsec = nseconds; |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#endif // APPLE Compatibility
|
|
|
|
|
|