What's Changed
Notable changes since last release (v1.4.0):
-
Complete rewrite of clock functions, including:
- CLOCK_MONOTONIC is no longer non-monotonic
- CLOCK_MONOTONIC is no longer completely broken on ppc64
- Mach-based clocks are no longer horribly inaccurate on some ppc models
- High-precision thread time is now reported on 10.10+
- "Approximate" clocks work as intended on 10.10+
- Fallbacks for missing mach_time clocks are provided
- A corner case in CLOCK_THREAD_CPUTIME_ID is fixed
- Bad clock IDs no longer fail to set errno
- Most functions are now faster.
-
Two packet timestamp bugs are fixed:
- 10.5 x86_64 no longer supplies an unexpected timestamp format
- Timestamps now have correct endianness under Rosetta
-
The SDK 15 TargetConditionals.h now compiles with GCC 4.2
-
Several header fixes, including:
- Fixes dirent.h+sys/stat.h for 10.4 build with _POSIX_C_SOURCE
- Fixes dirent.h for C89/C90 mode
- Various other error/warning fixes
-
Implements sleep-time accounting in clock functions (except on ppc64 for now)
-
Implements degenerate clonefile()
Full Changelog: v1.4.0...v1.5.0