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

Make TickSourceMock class thread safe

    • Fully Compatible
    • ALL
    • Sharding 2020-06-15
    • 0

      In order to avoid data race while accessing TickSourceMock's class api concurrently by multiple threads, the _currentTicks class variable access need to be serialized through the usage of some thread syncronization primitive such as mutex.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: