Commit Graph

28 Commits

Author SHA1 Message Date
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