Back SpinLock with a stdx::mutex in debug builds on non-windows

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Platforms 2018-08-27
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We have some lovely deadlock detection code built into the hang analyzer on linux which does a great job with our internal lock types as well as with mutexes. For debug builds, backing SpinLock's with mutexes gives us that deadlock detection for free.

      This constrains them from being released on a different thread, but critical sections already have that property, so we can't have been relying on it

            Assignee:
            Mira Carey
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: