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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user