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

Introduce type-associated mutexes

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch

      When we originally wrote MONGO_MAKE_LATCH here, we considered various macros to accept information from wrapping classes. We eventually decided against this tact in favor of simplicity. We now think it might be worthwhile to absorb this information, especially when the class that needs a mutex is templated. This will require a new macro ala MONGO_MAKE_LATCH_FOR_TYPE that passes its captured type as a template to the registry macro in some form. That macro will need to be able to invoke a unique template instantiation to achieve registry, which means an extra type in its template.

            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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: