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
Glenn Maynard
a6b072c9ca
Move debugging options into a separate INI section, since I use them
...
very frequently, and they're mostly not available in the menus.
Add LogCheckpoints.
Move checkpoint code into a namespace.
2003-11-24 00:23:18 +00:00
Chris Danford
47def7d3dc
xbox updates
2003-11-13 00:39:36 +00:00
Glenn Maynard
fe79f320dd
RageThread::HaltAllThreads for Windows.
2003-10-01 08:20:03 +00:00
Glenn Maynard
352df48614
fix thread deinit
2003-09-03 05:10:23 +00:00
Glenn Maynard
3f19c51f27
simplify
2003-09-03 03:30:32 +00:00
Steve Checkoway
9bf1fec101
Added files.
2003-08-08 09:03:30 +00:00
Chris Danford
457d0d5232
fix ASSERT in IH_DInput on WindowReset because RageThread incorrectly reports that it's created
2003-08-06 05:50:34 +00:00
Glenn Maynard
67aacc9d97
Don't pull in SDL_thread.h from RageThreads.h.
...
Implement per-thread checkpoints portably. This replaces VDCHECKPOINT.
2003-08-05 01:25:33 +00:00
Glenn Maynard
cb50cf3f79
halt/killing threads
2003-07-27 07:00:13 +00:00
Glenn Maynard
1414f9149b
name the main thread
2003-07-27 03:13:40 +00:00
Glenn Maynard
11b706e6bd
add thread handler
2003-07-27 03:08:02 +00:00
Glenn Maynard
42cfd6f98c
stdafx -> global
2003-02-16 04:01:45 +00:00
Glenn Maynard
c0a132cb18
fixup
2002-12-27 23:01:45 +00:00
Glenn Maynard
0698b2580d
add LockMutex::Unlock
2002-12-27 22:11:55 +00:00
Glenn Maynard
4a2bd2a9db
add some simple lock profiling
2002-12-21 05:13:45 +00:00
Glenn Maynard
ab1ec8e464
Add some lock handling stuff for the sound code.
2002-12-13 06:18:09 +00:00