Implement interruptible sleep and condition variable waitFor methods on OperationContext

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.5
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Andy Schwerin
              Reporter:
              Andy Schwerin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: