aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
AgeCommit message (Expand)Author
2023-10-02sync: modernize CSemaphore / CSemaphoreGrantPieter Wuille
2023-01-25doc: Export threadsafety.h from sync.hMarcoFalke
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-10-11Merge bitcoin/bitcoin#25676: sync: simplify and remove unused code from sync.hfanquake
2022-10-10sync: rename AnnotatedMixin::UniqueLock to AnnotatedMixin::unique_lockVasil Dimov
2022-10-10sync: remove DebugLock alias templateVasil Dimov
2022-10-10sync: avoid confusing name overlap (Mutex)Vasil Dimov
2022-10-03refactor: Drop `owns_lock()` callHennadii Stepanov
2022-09-27refactor: Do not discard `try_lock()` return valueHennadii Stepanov
2022-09-14sync: remove unused template parameter from ::UniqueLockVasil Dimov
2022-09-14sync: simplify MaybeCheckNotHeld() definitions by using a templateVasil Dimov
2022-08-12refactor: Remove trailing semicolon from LOCK2Aurèle Oulès
2022-05-21sync.h: Imply negative assertions when calling LOCKAnthony Towns
2022-05-21sync.h: Add GlobalMutex typeAnthony Towns
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