Update logvisor; name key threads

This commit is contained in:
Jack Andersen 2017-01-16 15:20:50 -10:00
parent 593170cefe
commit 8fe3e2152b
4 changed files with 6 additions and 1 deletions

View File

@ -113,6 +113,8 @@ public:
/* Spawn client thread */ /* Spawn client thread */
m_clientThread = std::thread([&]() m_clientThread = std::thread([&]()
{ {
logvisor::RegisterThreadName("Boo Client Thread");
/* Run app */ /* Run app */
m_clientReturn = m_callback.appMain(this); m_clientReturn = m_callback.appMain(this);
@ -177,6 +179,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
const std::vector<SystemString>& args, const std::vector<SystemString>& args,
bool singleInstance) bool singleInstance)
{ {
logvisor::RegisterThreadName("Boo Main Thread");
@autoreleasepool @autoreleasepool
{ {
if (!APP) if (!APP)

View File

@ -469,6 +469,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
const std::vector<SystemString>& args, const std::vector<SystemString>& args,
bool singleInstance) bool singleInstance)
{ {
logvisor::RegisterThreadName("Boo Main Thread");
if (APP) if (APP)
return 1; return 1;
if (platform != IApplication::EPlatformType::Win32 && if (platform != IApplication::EPlatformType::Win32 &&

View File

@ -56,6 +56,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
const std::vector<std::string>& args, const std::vector<std::string>& args,
bool singleInstance) bool singleInstance)
{ {
logvisor::RegisterThreadName("Boo Main Thread");
if (APP) if (APP)
return 1; return 1;
if (platform == IApplication::EPlatformType::Wayland) if (platform == IApplication::EPlatformType::Wayland)

@ -1 +1 @@
Subproject commit f601125b22b2c8891be103c709b567f068c52217 Subproject commit 362499716cada22f62906de3b0392568ea8d4d3a