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

Introduce ThreadContext class

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service arch 2020-11-16, Service arch 2020-11-30
    • 0

      When we introduce new thread_local variables, we often end up rewriting the same pattern to extend visibility of those variables. We could benefit from a ThreadContext decorable that does the pattern once, correctly. This class would also be a convenient place to hang thread related static functions.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: