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

Add interface to check single-threaded context

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Evergreen 2020-07-27

      We use ThreadSafetyContext (defined here) to enforce execution of certain initialization methods in a single-threaded context. We should introduce a new interface (by extending ThreadSafetyContext) that allows checking whether the current execution context is single-threaded.

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

              Created:
              Updated:
              Resolved: