Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
Description
SERVER-81797 introduces AtomicWaitable type and uses futex sys operations for linux and mutex+condition_var solution for non linux.
- Add separate .cpp files for windows, linux and macOS

- Use OS based wake/wait functions.
For windows - it can use WaitOnAddress / WakeByAddressSingle / WakeByAddressAll
On MacOS - we can use[ _ulock_wait/_ulock_wake|https://outerproduct.net/futex-dictionary.html#macos].
Attachments
Issue Links
- related to
-
SERVER-81797 Make our own portable implementation of atomic notify() and wait() with timeout support
-
- In Code Review
-