summaryrefslogtreecommitdiffstats
path: root/source/DeadlockDetect.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Made the cDeadlockDetect class work in clang.madmaxoft2013-11-061-1/+1
|
* Debuggers: Added continuous hunger reporting.madmaxoft2013-08-191-1/+1
| | | | Showcases the OnWorldTick() hook to fire events at regular intervals. Will be used for debugging the issues related to hyper-hunger.
* DeadlockDetect now uses sleep instead of timed-wait semaphores.madmaxoft2013-08-191-13/+5
| | | | The semaphores' timed-wait still has issues on Linux, it's just easier to use cSleep instead.
* Added simple deadlock detection code.madmaxoft2013-08-141-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.