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

A reader-friendly reader-writer mutex type

    • Service Arch
    • Fully Compatible
    • v8.0
    • Networking & Obs 2024-05-27
    • 0

      This ticket will introduce RWMutex, a reader-writer mutex type that assumes reads are more frequent than writes. This new primitive should mimic the public APIs and the behavior of std::shared_mutex, while providing lower cost for locking/unlocking the mutex in both read and write modes. This ticket should also replace the mutex in here and here with the newly added RWMutex.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: