-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
0
SERVER-21004 introduced interruptible condition variable wait functions using OperationContext. This task is to also implement interruptible unconditional sleep methods and to round out the set of interruptible condition variable waits available, to more closely match those available on std::condition_variable.
To be implemented, at least:
OperationContext::sleepUntil()
OperationContext::sleepFor()
Various forms of OperationContext::waitForConditionOrInterruptFor.
- backported by
-
SERVER-37367 Notification::waitFor is not interruptible in 3.4
- Closed
- related to
-
SERVER-21004 Implement wait objects that support operation interruption/expiration
- Closed