Interruptible::waitForConditionOrInterruptUntil: Add support for condvar wait without predicate

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-68854 we found that the current interface for waiting on a condition variable of Interruptible::waitForConditionOrInterruptUntil is cumbersome and not really appropriate if the act of a thread waking up has to have side-effects.

      This ticket is about exposing an interface for such cases where you can wait without a predicate, exposing yourself to spurious wake-ups.

            Assignee:
            Unassigned
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: