aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
AgeCommit message (Expand)Author
2020-08-02test: Add LockStackEmpty()Hennadii Stepanov
2020-08-02Preserve initial state if push_lock() throws exceptionHennadii Stepanov
2020-06-25Improve "detected inconsistent lock order" error messageHennadii Stepanov
2020-06-22test: Improve "potential deadlock detected" exception messageHennadii Stepanov
2020-06-22Fix mistakenly swapped "previous" and "current" lock ordersHennadii Stepanov
2020-05-28Use template function instead of void* parameterHennadii Stepanov
2020-05-22doc: Add and fix comments about never destroyed objectsHennadii Stepanov
2020-05-19Replace thread_local g_lockstack with a mutex-protected mapHennadii Stepanov
2020-05-19refactor: Refactor duplicated code into LockHeld()Hennadii Stepanov
2020-05-19refactor: Add LockPair type aliasHennadii Stepanov
2020-05-19refactor: Add LockStackItem type aliasHennadii Stepanov
2020-05-19Prevent UB in DeleteLock() functionHennadii Stepanov
2020-03-27util: Remove unused itostrMarcoFalke
2020-03-06sync.h: add REVERSE_LOCKAnthony Towns
2020-01-15scripted-diff: Bump copyright of files changed in 2020MarcoFalke
2020-01-15scripted-diff: Replace CCriticalSection with RecursiveMutexMarcoFalke
2019-12-30scripted-diff: Bump copyright of files changed in 2019MarcoFalke
2019-10-28refactor: Remove redundant c_str() calls in formattingWladimir J. van der Laan
2019-10-15Remove unused includespracticalswift
2019-06-13Replace remaining fprintf with tfm::format manuallyMarcoFalke
2019-06-13scripted-diff: Replace fprintf with tfm::formatMarcoFalke
2019-05-07fix static_assert for macro HAVE_THREAD_LOCALorient
2019-04-29threads: add thread names to deadlock debugging messageJames O'Beirne
2019-01-25Prevent mutex lock fail even if --enable-debugAkio Nakamura
2018-11-04scripted-diff: Move util files to separate directory.Jim Posen
2018-08-31Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSectionWladimir J. van der Laan
2018-08-03Add unit test for DEBUG_LOCKORDER codeRussell Yanofsky
2018-07-27Update copyright headers to 2018DrahtBot
2018-05-22qa: Initialize lockstack to prevent null pointer derefMarcoFalke
2018-05-17break circular dependency: random/sync -> util -> random/syncChun Kuan Lee
2018-04-07[logging] Comment all continuing logs.John Newbery
2018-04-05Merge #12859: Bugfix: Include <memory> for std::unique_ptrWladimir J. van der Laan
2018-04-02Bugfix: Include <memory> for std::unique_ptrLuke Dashjr
2018-01-28Fix typospracticalswift
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-11-27threads: add a thread_local autoconf checkCory Fields
2017-11-18Switched sync.{cpp,h} to std threading primitives.Thomas Snider
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
2017-10-13Add ability to assert a lock is not held in DEBUG_LOCKORDERMatt Corallo
2017-09-30Remove unused fTry from push_lockJoão Barbosa
2017-08-16Use nullptr instead of zero (0) as the null pointer constantpracticalswift
2017-08-07scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal in...practicalswift
2017-06-22scripted-diff: Remove #include <boost/foreach.hpp>Jorge Timón
2017-06-05scripted-diff: Remove PAIRTYPEJorge Timón
2017-06-05scripted-diff: Fully remove BOOST_FOREACHJorge Timón
2017-03-17Remove unused codepracticalswift
2017-02-07Further-enforce lockordering by enforcing directly after TRY_LOCKsMatt Corallo
2017-02-02Always enforce lock strict lock ordering (try or not)Matt Corallo
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
2016-04-10Clean up lockorder data of destroyed mutexesPieter Wuille