summaryrefslogtreecommitdiffstats
path: root/source/DeadlockDetect.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DeadlockDetect now uses sleep instead of timed-wait semaphores.madmaxoft2013-08-191-5/+0
| | | | 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/+70
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.