aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
Commit message (Expand)AuthorAgeFilesLines
* sync.h: Make runtime lock checks require compile-time lock checksAnthony Towns2020-08-291-1/+4
* test: Add LockStackEmpty()Hennadii Stepanov2020-08-021-0/+11
* Preserve initial state if push_lock() throws exceptionHennadii Stepanov2020-08-021-3/+8
* Improve "detected inconsistent lock order" error messageHennadii Stepanov2020-06-251-2/+2
* test: Improve "potential deadlock detected" exception messageHennadii Stepanov2020-06-221-1/+5
* Fix mistakenly swapped "previous" and "current" lock ordersHennadii Stepanov2020-06-221-2/+2
* Use template function instead of void* parameterHennadii Stepanov2020-05-281-1/+4
* doc: Add and fix comments about never destroyed objectsHennadii Stepanov2020-05-221-0/+2
* Replace thread_local g_lockstack with a mutex-protected mapHennadii Stepanov2020-05-191-14/+37
* refactor: Refactor duplicated code into LockHeld()Hennadii Stepanov2020-05-191-9/+13
* refactor: Add LockPair type aliasHennadii Stepanov2020-05-191-8/+10
* refactor: Add LockStackItem type aliasHennadii Stepanov2020-05-191-8/+11
* Prevent UB in DeleteLock() functionHennadii Stepanov2020-05-191-14/+5
* util: Remove unused itostrMarcoFalke2020-03-271-2/+2
* sync.h: add REVERSE_LOCKAnthony Towns2020-03-061-1/+18
* scripted-diff: Bump copyright of files changed in 2020MarcoFalke2020-01-151-1/+1
* scripted-diff: Replace CCriticalSection with RecursiveMutexMarcoFalke2020-01-151-1/+1
* scripted-diff: Bump copyright of files changed in 2019MarcoFalke2019-12-301-1/+1
* refactor: Remove redundant c_str() calls in formattingWladimir J. van der Laan2019-10-281-2/+2
* Remove unused includespracticalswift2019-10-151-2/+0
* Replace remaining fprintf with tfm::format manuallyMarcoFalke2019-06-131-1/+1
* scripted-diff: Replace fprintf with tfm::formatMarcoFalke2019-06-131-3/+3
* fix static_assert for macro HAVE_THREAD_LOCALorient2019-05-071-0/+4
* threads: add thread names to deadlock debugging messageJames O'Beirne2019-04-291-10/+19
* Prevent mutex lock fail even if --enable-debugAkio Nakamura2019-01-251-1/+7
* scripted-diff: Move util files to separate directory.Jim Posen2018-11-041-1/+1
* Merge #11640: Make LOCK, LOCK2, TRY_LOCK work with CWaitableCriticalSectionWladimir J. van der Laan2018-08-311-1/+7
|\
| * Add unit test for DEBUG_LOCKORDER codeRussell Yanofsky2018-08-031-1/+7
* | Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|/
* qa: Initialize lockstack to prevent null pointer derefMarcoFalke2018-05-221-11/+8
* break circular dependency: random/sync -> util -> random/syncChun Kuan Lee2018-05-171-3/+5
* [logging] Comment all continuing logs.John Newbery2018-04-071-4/+4
* Merge #12859: Bugfix: Include <memory> for std::unique_ptrWladimir J. van der Laan2018-04-051-0/+1
|\
| * Bugfix: Include <memory> for std::unique_ptrLuke Dashjr2018-04-021-0/+1
* | Fix typospracticalswift2018-01-281-2/+2
|/
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
* threads: add a thread_local autoconf checkCory Fields2017-11-271-0/+3
* Switched sync.{cpp,h} to std threading primitives.Thomas Snider2017-11-181-9/+8
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-3/+3
* Add ability to assert a lock is not held in DEBUG_LOCKORDERMatt Corallo2017-10-131-0/+10
* Remove unused fTry from push_lockJoão Barbosa2017-09-301-2/+2
* Use nullptr instead of zero (0) as the null pointer constantpracticalswift2017-08-161-1/+1
* scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal in...practicalswift2017-08-071-1/+1
* scripted-diff: Remove #include <boost/foreach.hpp>Jorge Timón2017-06-221-1/+0
* scripted-diff: Remove PAIRTYPEJorge Timón2017-06-051-5/+5
* scripted-diff: Fully remove BOOST_FOREACHJorge Timón2017-06-051-5/+5
* Remove unused codepracticalswift2017-03-171-2/+0
* Further-enforce lockordering by enforcing directly after TRY_LOCKsMatt Corallo2017-02-071-15/+13
* Always enforce lock strict lock ordering (try or not)Matt Corallo2017-02-021-25/+1
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1