Commit Graph

80 Commits

Author SHA1 Message Date
Glenn Maynard d7c686e726 fix comment 2005-04-25 09:44:59 +00:00
Glenn Maynard 63604a6536 implement RageEvent::Wait timeouts 2005-01-26 20:59:41 +00:00
Glenn Maynard 84333f37f5 fix leak if RageThread::Wait() is never called 2005-01-08 15:36:12 +00:00
Glenn Maynard 16aa98b5b2 fix m_LockedBy 2004-11-10 22:10:52 +00:00
Glenn Maynard 6eb08e4140 RageEvent 2004-11-07 23:21:45 +00:00
Glenn Maynard 303d0600d4 cleanup 2004-10-27 19:49:08 +00:00
Glenn Maynard 37c4e97ceb cleanup 2004-10-27 19:33:52 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Glenn Maynard fcfaa2a303 set up g_ThreadSlots[slot].id before calling MakeThisThread so it can
use RageThread::GetCurThreadName()
2004-09-17 02:34:34 +00:00
Glenn Maynard 82a2c657fd GetSupportsTLS/SetSupportsTLS 2004-09-09 02:28:05 +00:00
Steve Checkoway dcbff718f5 OS X has stubs for ForceCrashHandlerDeadlock now. 2004-09-07 11:13:44 +00:00
Glenn Maynard 8f0c559ef4 dump all thread stacks on semaphore timeout 2004-09-07 03:17:56 +00:00
Glenn Maynard 0ce4716c0e add RageThread::EnumThreadIDs
pass a ThreadId toForceCrashHandlerDeadlock; do away with crash handles
2004-09-07 02:58:59 +00:00
Glenn Maynard 085f354f8a allow not timing out on semaphore waits 2004-08-29 22:51:09 +00:00
Glenn Maynard baca8e33ab fix crash if a thread is started before LOG 2004-08-14 23:28:33 +00:00
Glenn Maynard 362cb13072 log thread starts 2004-08-12 05:43:54 +00:00
Glenn Maynard d301f20937 make debugging deadlocks easier on systems without ForceCrashHandlerDeadlock 2004-08-10 01:27:42 +00:00
Chris Danford 1d0dff5ad5 don't timeout on a Wait() if a dialog is showing. The movie decode semaphone would timeout on most Dialogs 2004-08-07 21:37:20 +00:00
Glenn Maynard 76f41546e2 fix various races 2004-06-16 01:53:27 +00:00
Glenn Maynard c246f7bdc2 fix UnknownThreadSlot 2004-06-16 01:14:43 +00:00
Glenn Maynard 91e3269798 better error output 2004-06-16 00:29:52 +00:00
Chris Danford b2cf196d74 fixing Xbox compile errors 2004-06-15 06:24:58 +00:00
Steve Checkoway 206054a134 Darwin uses unix CrashHandler. 2004-06-14 11:01:10 +00:00
Steve Checkoway 0970b4714a Fix compile without CRASH_HANDLER. 2004-06-14 10:57:21 +00:00
Glenn Maynard 025780fc21 (no, don't use SDL for the rest) 2004-06-14 05:46:49 +00:00
Glenn Maynard 22fe9d6841 RageSemaphore 2004-06-14 05:29:12 +00:00
Glenn Maynard d3bd09cdc8 fix up more obscure races 2004-06-13 07:55:27 +00:00
Glenn Maynard b29e17b118 fix most odd thread startup problems 2004-06-13 07:09:41 +00:00
Glenn Maynard 0259692fbf c_str() 2004-06-11 23:46:29 +00:00
Glenn Maynard 2454c80541 linux build fix 2004-06-11 22:55:37 +00:00
Glenn Maynard 46a374ff40 check CRASH_HANDLER 2004-06-11 19:29:03 +00:00
Glenn Maynard 1048967584 use arch/Threads 2004-06-11 19:24:05 +00:00
Glenn Maynard b2b661dd8c dsiable g_MutexList and g_FreeMutexIDs: they're not threadsafe themselves,
and they're only used by MarkLockedMutex which is already disabled
2004-06-09 17:15:58 +00:00
Glenn Maynard 32893f5b63 better error message 2004-06-06 05:37:25 +00:00
Glenn Maynard b31996b97f better error checking 2004-05-24 04:24:50 +00:00
Glenn Maynard 7c56df3fd7 types 2004-05-11 20:50:08 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard 01e54b95a0 disable lock ordering checks for now 2004-05-05 20:37:14 +00:00
Glenn Maynard b82a155fe7 cleanup 2004-04-20 03:51:41 +00:00
Glenn Maynard 732cf4b380 cleanup 2004-04-20 03:44:38 +00:00
Glenn Maynard 0607e7976d if we run out of mutex slots, log a list 2004-04-20 01:08:49 +00:00
Glenn Maynard 5dee44f989 slight unification of crash apis; better .vdi searching 2004-04-18 00:08:37 +00:00
Glenn Maynard e1d583dac4 add RageThread::GetCurrentThreadID 2004-04-07 03:38:15 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Glenn Maynard 7e7d68bd94 implement HaltAllThreads on DARWIN 2004-03-28 06:04:37 +00:00
Glenn Maynard e9368790a3 remove unused SDL mutex implementation 2004-03-25 04:06:44 +00:00
Glenn Maynard fd248f087b fix false positives 2004-03-21 09:30:15 +00:00
Glenn Maynard 026908a3c2 disable for now 2004-03-21 09:17:42 +00:00
Glenn Maynard d48f416ec3 implement mutex order tracking 2004-03-21 08:36:43 +00:00
Glenn Maynard 4f7432794a include the name of threads and the mutex on mutex deadlock 2004-03-21 04:28:38 +00:00