MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / XamlThread

Method XamlThread

TranslucentTB/uwp/xamlthread.cpp:105–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105XamlThread::XamlThread() :
106 m_Dispatcher(nullptr),
107 m_Manager(nullptr)
108{
109 m_Thread.reset(CreateThread(nullptr, 0, XamlThread::ThreadProc, this, 0, nullptr));
110 if (!m_Thread)
111 {
112 LastErrorHandle(spdlog::level::critical, L"Failed to create XAML thread");
113 }
114
115#ifdef _DEBUG
116 HresultVerify(SetThreadDescription(m_Thread.get(), APP_NAME L" XAML Island Thread"), spdlog::level::info, L"Failed to set thread description");
117#endif
118
119 m_Ready.wait();
120}
121
122wil::unique_handle XamlThread::Delete()
123{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected