summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-16Using Super.Mattes D1-2/+2
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-32/+6
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-6/+32
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-32/+6
2017-01-18DeadlockDetect now lists some tracked CS's stats.Mattes D1-0/+65
2017-01-17DeadlockDetect: Provide more information for debugging.Mattes D1-3/+5
2016-02-05Bulk clearing of whitespaceLogicParrot1-6/+6
2014-10-24SuggestionsTiger Wang1-1/+1
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-4/+4
2014-08-21Added initializers for class members.Mattes D1-1/+3
As reported by Coverity, these weren't initialized.
2014-05-05Fixed crash on creating a world during plugin initialisationworktycho1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-5/+8
2014-03-25Removed unused constants.madmaxoft1-4/+1
DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney1-0/+2
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-15Fixed unessicary returnTycho1-1/+0
2013-12-10added abort to DeadlockDetector to generate core dumps on failureTycho Bickerstaff1-5/+2
2013-11-30DeadlockDetect is configurable now.madmaxoft1-2/+4
This is needed when debugging Lua plugins.
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-06Made the cDeadlockDetect class work in clang.madmaxoft1-1/+1
2013-08-19Debuggers: Added continuous hunger reporting.madmaxoft1-1/+1
Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
2013-08-19DeadlockDetect now uses sleep instead of timed-wait semaphores.madmaxoft1-13/+5
The semaphores' timed-wait still has issues on Linux, it's just easier to use cSleep instead.
2013-08-14Added simple deadlock detection code.madmaxoft1-0/+155
This will assert and then deliberately crash the server once a deadlock is detected. For detection, only the world tick threads are considered, cWorld's m_WorldAge is checked periodically and if it doesn't increment for several seconds, a deadlock is reported.