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

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

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

      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 Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: