mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
c/multi: Name some threads
This commit is contained in:
parent
e33a9b3481
commit
8cb26df99d
|
@ -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)) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue