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

Require predicates with OperationContext::waitForConditionOrInterrupt()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2
    • Component/s: None
    • Labels:
      None

      Description

      There are a select few places where we use OperationContext::waitForConditionOrInterrupt() without predicates. I'd like all invocations to use predicates. It is i) easier to reason about for devs, ii) simpler to phrase as an API set, iii) empowers more sophisticated behaviors within Interruptibles.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.caimano Benjamin Caimano
              Reporter:
              ben.caimano Benjamin Caimano
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: