Commit Graph
38 Commits
Author SHA1 Message Date
Chris Danford d5d4610946 CString->RString
fixes RageFileDriverZip memory corruption
2006-01-21 23:01:06 +00:00
Glenn Maynard 17a5f66438 remove CreateThisThread 2005-12-19 02:08:06 +00:00
Glenn Maynard a9ced55f72 RageThread::CreateThisThread is too different: most of the API
is not valid, and it's used differently.  Split it off into
RageThreadRegister.
2005-12-19 02:00:22 +00:00
Glenn Maynard 3e9f38e833 cleanup 2005-12-19 01:43:04 +00:00
Steve Checkoway 21a9c65791 Fix crash if thread exits before the dtor is called. 2005-12-17 12:32:59 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Steve Checkoway 315d907ef1 Add CreateThisThread(). Use it instead of the static object to name the main thread (and the GUI thread on OS X). 2005-12-15 08:32:29 +00:00
Glenn Maynard 97277824d9 comment, cleanup (dear god this is boring) 2005-02-13 03:50:51 +00:00
Glenn Maynard 775d18fe2d add RageThread::GetName() 2005-02-11 04:05:50 +00:00
Glenn Maynard 63604a6536 implement RageEvent::Wait timeouts 2005-01-26 20:59:41 +00:00
Glenn Maynard 6eb08e4140 RageEvent 2004-11-07 23:21:45 +00:00
Glenn Maynard f7e317f9dd cleanup 2004-10-27 22:12:17 +00:00
Glenn Maynard 303d0600d4 cleanup 2004-10-27 19:49:08 +00:00
Glenn Maynard 82a2c657fd GetSupportsTLS/SetSupportsTLS 2004-09-09 02:28:05 +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 22fe9d6841 RageSemaphore 2004-06-14 05:29:12 +00:00
Glenn Maynard dd4bc636f4 cleanups 2004-06-13 20:03:18 +00:00
Glenn Maynard 1048967584 use arch/Threads 2004-06-11 19:24:05 +00:00
Glenn Maynard f9f10e2372 more license updates 2004-05-06 02:40:33 +00:00
Glenn Maynard 732cf4b380 cleanup 2004-04-20 03:44:38 +00:00
Glenn Maynard 3bbefc42d4 name sound mutexes differently 2004-04-20 01:55:23 +00:00
Glenn Maynard e1d583dac4 add RageThread::GetCurrentThreadID 2004-04-07 03:38:15 +00:00
Glenn Maynard d48f416ec3 implement mutex order tracking 2004-03-21 08:36:43 +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 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 f014787146 cleanup 2004-01-17 00:23:04 +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
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 11b706e6bd add thread handler 2003-07-27 03:08:02 +00:00
Glenn Maynard eab305fdcf correct a header 2003-02-14 06:42:08 +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 aba4ede6df blah vc6 fix 2002-12-21 09:17:57 +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