Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25062

Implement interruptible sleep and condition variable waitFor methods on OperationContext

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.5
    • 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.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: