Add CreateThisThread(). Use it instead of the static object to name the main thread (and the GUI thread on OS X).

This commit is contained in:
Steve Checkoway
2005-12-15 08:32:29 +00:00
parent bdf4898ecb
commit 315d907ef1
4 changed files with 42 additions and 12 deletions
+4
View File
@@ -926,6 +926,10 @@ int main(int argc, char* argv[])
int argc = 1;
char *argv[] = {"default.xbe"};
#endif
RageThread mainThread;
mainThread.SetName( "MainThread" );
mainThread.CreateThisThread();
SetCommandlineArguments( argc, argv );