Commit Graph
66 Commits
Author SHA1 Message Date
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
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Glenn Maynard 8d435c2b4d use pthread directly
deadlock handling in pthreads
2004-03-20 22:01:40 +00:00
Glenn Maynard 9bfe4b0620 use LinuxThreadHelpers 2004-03-12 05:26:10 +00:00
Glenn Maynard 0f8d5281a7 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:15:25 +00:00
Glenn Maynard ecce498108 use sm_crash 2004-02-25 01:33:15 +00:00
Steve Checkoway a69570f749 Fix warnings. 2004-02-21 10:30:07 +00:00
Glenn Maynard be077fe046 "unknown thread" slot 2004-02-20 23:42:40 +00:00
Steve Checkoway 00bfa2b892 If we can't set a checkpoint, don't crash, just return. 2004-02-20 22:49:26 +00:00
Manu Evans 3f812dc63c changed DeleteObject to ReleaseHandle 2004-02-01 01:07:33 +00:00
Manu Evans 173d4c2c84 Still tryig to get xbox building..
DeleteObject needed replacing with CloseHandle for xbox (and maybe PC too?)
RageDisplay_D3D was creating dynamic links to the wrong .lib's ..
they are only in the windows build now ..
libs are included in the project file for xbox ..
2004-01-31 01:57:33 +00:00
Glenn Maynard ee4aaf5cda fix linux compile 2004-01-18 04:00:56 +00:00
Glenn Maynard 077e8c5f8a comment 2004-01-18 02:46:31 +00:00
Glenn Maynard 93204d9b08 Simpler and more efficient recursive mutex implementation.
Non-SDL mutexes for Win32.  (Wrote this while writing the above;
keeping it since I hope to purge most SDL stuff some day, and we
can also do some deadlock checks that we can't do cleanly with
SDL mutexes.)
2004-01-17 09:32:11 +00:00
Glenn Maynard d4c151937e add RageThread::ResumeAllThreads 2004-01-12 01:36:25 +00:00