Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-29 | Update copyright headers to 2018 | DrahtBot | |
2018-08-31 | scripted-diff: Small locking rename | Russell Yanofsky | |
Call sync.h primitives "locks" and "mutexes" instead of "blocks" and "waitable critical sections" to match current coding conventions and c++11 standard names. This PR does not rename the "CCriticalSection" class (though this could be done as a followup) because it is used everywhere and would swamp the other changes in this PR. Plain mutexes should mostly be preferred instead of recursive mutexes in new code anyway. -BEGIN VERIFY SCRIPT- set -x set -e ren() { git grep -l $1 | xargs sed -i s/$1/$2/; } ren CCriticalBlock UniqueLock ren CWaitableCriticalSection Mutex ren CConditionVariable std::condition_variable ren cs_GenesisWait g_genesis_wait_mutex ren condvar_GenesisWait g_genesis_wait_cv perl -0777 -pi -e 's/.*typedef.*condition_variable.*\n\n?//g' src/sync.h -END VERIFY SCRIPT- | |||
2018-08-31 | Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection | Wladimir J. van der Laan | |
9c4dc597ddc66acfd58a945a5ab11f833731abba Use LOCK macros for non-recursive locks (Russell Yanofsky) 1382913e61f5db6ba849b1e261e8aefcd5a1ae68 Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSection (Russell Yanofsky) ba1f095aadf29bddb0bd8176d2e0b908f92a5623 MOVEONLY Move AnnotatedMixin declaration (Russell Yanofsky) 41b88e93375d57db12da923f45f87b9a2db8e730 Add unit test for DEBUG_LOCKORDER code (Russell Yanofsky) Pull request description: Make LOCK macros work with non-recursive mutexes, and use wherever possible for better deadlock detection. Also add unit test for DEBUG_LOCKORDER code. Tree-SHA512: 64ef209307f28ecd0813a283f15c6406138c6ffe7f6cbbd084161044db60e2c099a7d0d2edcd1c5e7770a115e9b931b486e86c9a777bdc96d2e8a9f4dc192942 | |||
2018-08-03 | Use LOCK macros for non-recursive locks | Russell Yanofsky | |
Instead of std::unique_lock. | |||
2018-07-27 | Update copyright headers to 2018 | DrahtBot | |
2018-04-25 | [index] Allow TxIndex sync thread to be interrupted. | Jim Posen | |
2017-01-03 | net: add CThreadInterrupt and InterruptibleSleep | Cory Fields | |