-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major - P3
-
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
- related to
-
SERVER-36628 SpinLock should remember what thread is holding it
-
- Closed
-