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

Implement AtomicWord::wait similar to std::atomic::wait

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch

      In C++20 the functionality for waiting on an atomic variable is implemented in std::atomic::wait. This essentially brings an implementation of futexes that is cross-platform.

      We should investigate whether we can implement this functionality in our AtomicWord once C++20 is allowed in the codebase.

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

              Created:
              Updated:
              Resolved: