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

Document Server-Internal Synchronization Primitives

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • Service Arch 2020-08-24, Service arch 2020-09-07

      We have a decent amount of internal synchronization infrastructure for locking, notification, and threading. They live in these src directories:

      • mongo/stdx
      • mongo/platform
      • mongo/util

      There are three topics here:

      • Locking and Latching (includes Mutex, WithLock, SpinLock, LatchAnalyzer, DiagnosticInfo)
      • Notification (Notifyable, stdx::condition_variable, Notification)
      • Threading (BackgroundJob, PeriodicRunner[Impl], stdx::thread)

      Since this spans several directories, we should make a new markdown in the docs folder. This is intended to be abstract documentation, describe relationships and state transitions not code in common language.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: