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

Implement interruptible sleep and condition variable waitFor methods on OperationContext

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.5
    • Internal Code
    • None
    • Fully Compatible
    • 0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: