-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
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].
- related to
-
SERVER-81797 Make our own portable implementation of atomic notify() and wait() with timeout support
- Closed