Steve Checkoway
|
2faaa7518a
|
GetCurThreadName -> GetCurrentThreadName to match GetCurrentThreadID.
|
2007-02-23 10:35:00 +00:00 |
|
Steve Checkoway
|
6ed2dcf230
|
Export GetInvalidThreadID() through RageThreads.h, rather than arch/Threads/Thread.h (via GetInvalidThreadId(), lowercase d).
|
2007-02-23 10:24:51 +00:00 |
|
Steve Checkoway
|
a7cadaa835
|
Simplify.
|
2007-02-23 09:01:11 +00:00 |
|
Glenn Maynard
|
09ef507084
|
add RageThread copy ctor, RageEvent::WaitTimeoutSupported
|
2006-12-22 11:34:37 +00:00 |
|
Glenn Maynard
|
00b1b7af74
|
simplify
|
2006-11-01 05:42:15 +00:00 |
|
Steve Checkoway
|
129eda9df8
|
Be careful about buffer overflow.
|
2006-08-09 22:07:53 +00:00 |
|
Glenn Maynard
|
94886b6d06
|
clean up thread checkpoints output
|
2006-03-29 05:19:13 +00:00 |
|
Glenn Maynard
|
389e7e3da3
|
style cleanup
|
2006-03-29 04:59:28 +00:00 |
|
Chris Danford
|
d5d4610946
|
CString->RString
fixes RageFileDriverZip memory corruption
|
2006-01-21 23:01:06 +00:00 |
|
Steve Checkoway
|
2381b3f5e9
|
Cleanup. While I'm at it, might as well skip the "src/" too.
|
2006-01-17 06:50:34 +00:00 |
|
Jason Felds
|
d5317492ff
|
Dump the ternary conditional completely. The end result: easier to read code that works on more compilers.
|
2006-01-17 04:26:51 +00:00 |
|
Jason Felds
|
28dc73775c
|
Fix ternary conditional.
|
2006-01-17 01:34:21 +00:00 |
|
Steve Checkoway
|
2b60174182
|
Ignore any part of the file before src. gcc replaces __FILE__ with the name of the file as it was passed to it. Xcode invokes gcc with absolute paths. This makes crash logs slightly easier to read.
|
2006-01-16 07:39:04 +00:00 |
|
Glenn Maynard
|
873851eef2
|
fix g_ThreadSlotsLock initialization order problem
|
2006-01-13 00:33:33 +00:00 |
|
Glenn Maynard
|
644801396c
|
move globals into namespace
|
2005-12-31 03:56:25 +00:00 |
|
Glenn Maynard
|
f3c49dd4bc
|
ThreadSlot::Release
|
2005-12-19 02:18:09 +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 |
|
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
|
5e7176015a
|
Cleanup.
|
2005-12-15 08:59:27 +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 |
|
Steve Checkoway
|
bdf4898ecb
|
Use consistent thread names.
|
2005-12-15 07:18:52 +00:00 |
|
Steve Checkoway
|
aa0f90feae
|
__MACOSX__ --> MACOSX, keep __MACOSX__ for ogg.
|
2005-10-24 10:37:56 +00:00 |
|
Glenn Maynard
|
da269be1a2
|
minor optimization
|
2005-08-24 02:26:36 +00:00 |
|
Steve Checkoway
|
99387583f9
|
DARWIN -> __MACOSX__
|
2005-06-21 08:56:36 +00:00 |
|
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 |
|