aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
AgeCommit message (Expand)Author
2022-05-12sync.h: strengthen AssertLockNotHeld assertionAnthony Towns
2022-04-13Merge bitcoin/bitcoin#24355: util, refactor: Add UNIQUE_NAME helper macrolaanwj
2022-04-05Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directiveJon Atack
2022-02-16util, refactor: Add UNIQUE_NAME helper macroHennadii Stepanov
2021-12-30scripted-diff: Bump copyright headersHennadii Stepanov
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-04-05refactor: Remove negative lock annotations from globalsMarcoFalke
2021-01-12Merge #20495: sync: Use decltype(auto) return type for WITH_LOCKfanquake
2020-12-10[skip ci] sync: Check precondition in LEAVE_CRITICAL_SECTION() macroHennadii Stepanov
2020-12-04sync: Use decltype(auto) return type for WITH_LOCKCarl Dong
2020-11-25Merge #19337: sync: detect double lock from the same threadWladimir J. van der Laan
2020-09-19Remove unused LockAssertion structHennadii Stepanov
2020-08-29sync.h: Make runtime lock checks require compile-time lock checksAnthony Towns
2020-08-29Do not hide compile-time thread safety warningsHennadii Stepanov
2020-08-05sync: make EnterCritical() & push_lock() type safeVasil Dimov
2020-08-02test: Add LockStackEmpty()Hennadii Stepanov
2020-06-11Add means to handle negative capabilities in thread safety annotationsHennadii Stepanov
2020-05-28Use template function instead of void* parameterHennadii Stepanov
2020-03-31refactor: Add interfaces::FoundBlock class to selectively return block dataRussell Yanofsky
2020-03-15Fix missing header in sync.hJoão Barbosa
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-09-25refactor: consolidate PASTE macrosJames O'Beirne
2019-05-17scripted-diff: Rename LockAnnotation to LockAssertionpracticalswift
2019-05-17Make sure the compile-time locking promises given via LockAnnotation:s hold a...practicalswift
2019-05-17Move LockAnnotation from threadsafety.h (imported code) to sync.h (our code)practicalswift
2019-04-20Add WITH_LOCK macro: run code while locking a mutexAntoine Riard
2018-12-14sync: Add RecursiveMutex type aliasMarcoFalke
2018-08-31scripted-diff: Small locking renameRussell Yanofsky
2018-08-31Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSectionWladimir J. van der Laan
2018-08-03Use LOCK macros for non-recursive locksRussell Yanofsky
2018-08-03Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSectionRussell Yanofsky
2018-08-03MOVEONLY Move AnnotatedMixin declarationRussell Yanofsky
2018-08-03Add unit test for DEBUG_LOCKORDER codeRussell Yanofsky
2018-07-27Update copyright headers to 2018DrahtBot
2018-07-25Annotate AssertLockHeld() with ASSERT_CAPABILITY() for thread safety analysisJesse Cohen
2018-01-03Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa
2017-11-18Switched sync.{cpp,h} to std threading primitives.Thomas Snider
2017-11-16scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider
2017-11-15Merge #10286: Call wallet notify callbacks in scheduler thread (without cs_main)Wladimir J. van der Laan
2017-11-06Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std fr...Matt Corallo
2017-10-13Add ability to assert a lock is not held in DEBUG_LOCKORDERMatt Corallo
2017-08-16Declare single-argument (non-converting) constructors "explicit"practicalswift
2017-08-16Merge #9964: Add const to methods that do not modify the object for which it ...MarcoFalke
2017-08-07scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal in...practicalswift
2017-07-25Add const to methods that do not modify the object for which it is calledpracticalswift