The open source OpenXR runtime
0
fork

Configure Feed

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

d/vive: Use U_TRACE_SET_THREAD_NAME

+6
+6
src/xrt/drivers/vive/vive_device.c
··· 466 466 { 467 467 struct vive_device *d = (struct vive_device *)ptr; 468 468 469 + U_TRACE_SET_THREAD_NAME("Vive: Mainboard"); 470 + 469 471 os_thread_helper_lock(&d->mainboard_thread); 470 472 while (os_thread_helper_is_running_locked(&d->mainboard_thread)) { 471 473 os_thread_helper_unlock(&d->mainboard_thread); ··· 735 737 { 736 738 struct vive_device *d = (struct vive_device *)ptr; 737 739 740 + U_TRACE_SET_THREAD_NAME("Vive: Watchman"); 741 + 738 742 os_thread_helper_lock(&d->watchman_thread); 739 743 while (os_thread_helper_is_running_locked(&d->watchman_thread)) { 740 744 os_thread_helper_unlock(&d->watchman_thread); ··· 754 758 vive_sensors_run_thread(void *ptr) 755 759 { 756 760 struct vive_device *d = (struct vive_device *)ptr; 761 + 762 + U_TRACE_SET_THREAD_NAME("Vive: Sensors"); 757 763 758 764 os_thread_helper_lock(&d->sensors_thread); 759 765 while (os_thread_helper_is_running_locked(&d->sensors_thread)) {