Commit Graph

57 Commits (ae379cf7d12943fc192d58176673bcfe7d53da53)

Author SHA1 Message Date
MarcoFalke e09c701e01 scripted-diff: Bump copyright of files changed in 2020
5 years ago
MarcoFalke 6cbe620964 scripted-diff: Replace CCriticalSection with RecursiveMutex
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
James O'Beirne 0d86f4d3da refactor: consolidate PASTE macros
5 years ago
practicalswift 9f85e9cb3d scripted-diff: Rename LockAnnotation to LockAssertion
6 years ago
practicalswift de9b5dbca3 Make sure the compile-time locking promises given via LockAnnotation:s hold also in practice at runtime (ifdef DEBUG_LOCKORDER)
6 years ago
practicalswift cc2588579c Move LockAnnotation from threadsafety.h (imported code) to sync.h (our code)
6 years ago
Antoine Riard edfe9438ca Add WITH_LOCK macro: run code while locking a mutex
6 years ago
MarcoFalke fac4558462
sync: Add RecursiveMutex type alias
6 years ago
Russell Yanofsky 190bf62be1 scripted-diff: Small locking rename
6 years ago
Wladimir J. van der Laan 385ad11040
Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection
6 years ago
Russell Yanofsky 9c4dc597dd Use LOCK macros for non-recursive locks
6 years ago
Russell Yanofsky 1382913e61 Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection
6 years ago
Russell Yanofsky ba1f095aad MOVEONLY Move AnnotatedMixin declaration
6 years ago
Russell Yanofsky 41b88e9337 Add unit test for DEBUG_LOCKORDER code
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Jesse Cohen f393a533be Annotate AssertLockHeld() with ASSERT_CAPABILITY() for thread safety analysis
6 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Thomas Snider bba9bd0d9d Switched sync.{cpp,h} to std threading primitives.
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Wladimir J. van der Laan 927a1d7d08
Merge #10286: Call wallet notify callbacks in scheduler thread (without cs_main)
7 years ago
Matt Corallo 7e319d6393 Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std from boost.
7 years ago
Matt Corallo 2b4b34503f Add ability to assert a lock is not held in DEBUG_LOCKORDER
7 years ago
practicalswift 64fb0ac016 Declare single-argument (non-converting) constructors "explicit"
7 years ago
MarcoFalke b6a48914c5
Merge #9964: Add const to methods that do not modify the object for which it is called
7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL
7 years ago
practicalswift 6e8c48dc59 Add const to methods that do not modify the object for which it is called
7 years ago
practicalswift 49de096c2a Remove unused Boost includes
8 years ago
practicalswift 8dc957ae06 Remove unused code
8 years ago
Gregory Maxwell 50bd12ce0c Break addnode out from the outbound connection limits.
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Pavel Janík 33d15a3a76 Do not shadow LOCK's criticalblock variable for LOCK inside LOCK
8 years ago
Pieter Wuille 5eeb913d6c Clean up lockorder data of destroyed mutexes
9 years ago
MarcoFalke fa24439ff3 Bump copyright headers to 2015
9 years ago
Veres Lajos 9f68ed6b6d typofixes (found by misspell_fixer)
9 years ago
Cory Fields cd27bba060 locking: teach Clang's -Wthread-safety to cope with our scoped lock macros
10 years ago
Philip Kaufmann 71ad6bd38b [Trivial] format sync.h
10 years ago
Eric Lombrozo 4401b2d7c5 Removed main.h dependency from rpcserver.cpp
10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers
10 years ago
Michael Ford 78253fcbad Remove references to X11 licence
10 years ago
Pieter Wuille 20e01b1a03 Apply clang-format on some infrequently-updated files
10 years ago
Philip Kaufmann 093303a887 add missing header end comments
10 years ago
Luke Dashjr ff6a7af154 getblocktemplate: longpolling support
10 years ago
Wladimir J. van der Laan 19a5676280 Use mutex pointer instead of name for AssertLockHeld
11 years ago
Gavin Andresen c649637b6c mutex debugging routines: LocksHeld() and AssertLockHeld()
11 years ago
Brandon Dahler 51ed9ec971 Cleanup code using forward declarations.
11 years ago
super3 db0e8ccd90 Bump Year Number to 2013
11 years ago
Eric Lombrozo 042da8bc0d Added comments to sync.h to make it easier to understand the macros
12 years ago
Gavin Andresen 8a7277a578 Merge pull request #2003 from alexanderkjeldaas/documented-locking-part-2
12 years ago
Alexander Kjeldaas bfc9620799 Simplify CMutexLock
12 years ago