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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: