-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Description
See #58701 (comment)
We can likely use pthread_condattr_setclock on Android in NDK r21. Also our minimum supported ios version is now greater than the version that didn't support CLOCK_MONOTONIC.
So we can likely change the ifdef around BROKEN_CLOCK_SOURCE to exclude ios and Android
runtime/src/mono/mono/utils/mono-os-mutex.h
Lines 39 to 41 in e55968b
| #if !defined(CLOCK_MONOTONIC) || defined(HOST_DARWIN) || defined(HOST_ANDROID) || defined(HOST_WASM) | |
| #define BROKEN_CLOCK_SOURCE | |
| #endif |