aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
AgeCommit message (Expand)Author
2024-02-13scripted-diff: Fix bitcoin_config_h includesTheCharlatan
2023-02-17sync: unpublish LocksHeld() which is used only in sync.cppVasil Dimov
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
2021-09-29log: Avoid broken DEBUG_LOCKORDER logMarcoFalke
2021-09-06sync: inline lock contention logging macro to fix time durationJon Atack
2021-09-01sync: remove DEBUG_LOCKCONTENTION preprocessor directivesJon Atack
2021-09-01log, sync: improve lock contention logging and add time durationJon Atack
2021-08-18log, sync: add LOCK logging category, apply it to lock contentionJon Atack
2021-01-26refactor: remove straggling boost::mutex usagefanquake
2020-12-10sync: Improve CheckLastCritical()Hennadii Stepanov
2020-11-26sync: const-qualify the argument of double_lock_detected()Vasil Dimov
2020-11-26sync: print proper lock order location when double lock is detectedVasil Dimov
2020-11-25Merge #19337: sync: detect double lock from the same threadWladimir J. van der Laan
2020-08-29sync.h: Make runtime lock checks require compile-time lock checksAnthony Towns
2020-08-10sync: detect double lock from the same threadVasil Dimov
2020-08-05sync: make EnterCritical() & push_lock() type safeVasil Dimov
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