[wasm] Use monotonic clock in wasm, emscripten has it now (#85660)
authorKatelyn Gadd <kg@luminance.org>
Wed, 3 May 2023 04:12:02 +0000 (21:12 -0700)
committerGitHub <noreply@github.com>
Wed, 3 May 2023 04:12:02 +0000 (21:12 -0700)
commitbc9dad2351827fdbbde7b10ff97f253a065d49e5
tree64beb1b3ead7db41bcdcb3a0b4f3879574233322
parent372b01fd7a59f86a7c3b24329bac75e0f7477cf2
[wasm] Use monotonic clock in wasm, emscripten has it now (#85660)

Use monotonic clock on wasm, emscripten added it after we initially disabled it for that target
Update mono-os-mutex.h to note that we have working monotonic clock in wasm now (but not wasi, because of some other dependencies)
src/mono/mono/utils/mono-os-mutex.h
src/mono/mono/utils/mono-time.c