mirror of https://github.com/AxioDL/boo.git
Update logvisor; name key threads
This commit is contained in:
parent
593170cefe
commit
8fe3e2152b
|
@ -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)
|
||||||
|
|
|
@ -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 &&
|
||||||
|
|
|
@ -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)
|
||||||
|
|
2
logvisor
2
logvisor
|
@ -1 +1 @@
|
||||||
Subproject commit f601125b22b2c8891be103c709b567f068c52217
|
Subproject commit 362499716cada22f62906de3b0392568ea8d4d3a
|
Loading…
Reference in New Issue