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

Optimize SpinLock to use std::atomic_flag rather than pthread_spin_lock

    • Fully Compatible
    • QuInt C (11/23/15)

      Buys 2-5% perf wins on linux. No change will be made to the windows implementation of SpinLock in this work.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: