c/multi: Name some threads

This commit is contained in:
Ryan Pavlik 2022-05-17 10:09:51 -05:00
parent e33a9b3481
commit 8cb26df99d
2 changed files with 5 additions and 1 deletions

View file

@ -219,6 +219,8 @@ run_func(void *ptr)
{
struct multi_compositor *mc = (struct multi_compositor *)ptr;
os_thread_helper_name(&(mc->wait_thread.oth), "Multi-Compositor Client Wait Thread");
os_thread_helper_lock(&mc->wait_thread.oth);
while (os_thread_helper_is_running_locked(&mc->wait_thread.oth)) {

View file

@ -356,7 +356,9 @@ static int
multi_main_loop(struct multi_system_compositor *msc)
{
COMP_TRACE_MARKER();
os_thread_helper_name(&(msc->oth), "Multi-System Compositor", L"Multi-System Compositor");
os_thread_helper_name(&(msc->oth), "Multi-Compositor");
struct xrt_compositor *xc = &msc->xcn->base;
//! @todo Don't make this a hack.