mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Make debug easier by naming threads.
This commit is contained in:
@@ -127,6 +127,7 @@ void printHelp(const po::options_description& desc)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
NameThread("main");
|
||||
int iResult = 0;
|
||||
po::variables_map vm; // Map of options.
|
||||
|
||||
@@ -248,6 +249,7 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
// No arguments. Run server.
|
||||
setupServer();
|
||||
NameThread("io");
|
||||
startServer();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user