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

View File

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

View File

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