The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/multi: Destroy threads instead of only stopping them

+4 -4
+2 -2
src/xrt/compositor/multi/comp_multi_compositor.c
··· 807 807 808 808 drain_events(mc); 809 809 810 - // Stop the wait thread. 811 - os_thread_helper_stop(&mc->wait_thread.oth); 810 + // Destroy the wait thread, destroy also stops the thread. 811 + os_thread_helper_destroy(&mc->wait_thread.oth); 812 812 813 813 // We are now off the rendering list, clear slots for any swapchains. 814 814 slot_clear(&mc->progress);
+2 -2
src/xrt/compositor/multi/comp_multi_system.c
··· 503 503 { 504 504 struct multi_system_compositor *msc = multi_system_compositor(xsc); 505 505 506 - // Stop the render thread first. 507 - os_thread_helper_stop(&msc->oth); 506 + // Destroy the render thread first, destroy also stops the thread. 507 + os_thread_helper_destroy(&msc->oth); 508 508 509 509 xrt_comp_native_destroy(&msc->xcn); 510 510