summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
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.