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

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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: