mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 09:01:46 +00:00
d/wmr: Use U_TRACE_SET_THREAD_NAME
This commit is contained in:
parent
386aa510bd
commit
0691ed9b89
|
@ -377,7 +377,7 @@ wmr_bt_controller_update_inputs(struct xrt_device *xdev)
|
|||
static void *
|
||||
wmr_bt_controller_run_thread(void *ptr)
|
||||
{
|
||||
DRV_TRACE_MARKER();
|
||||
U_TRACE_SET_THREAD_NAME("WMR: BT-Controller");
|
||||
|
||||
struct wmr_bt_controller *d = wmr_bt_controller(ptr);
|
||||
|
||||
|
|
|
@ -207,7 +207,7 @@ compute_frame_size(struct wmr_camera *cam)
|
|||
static void *
|
||||
wmr_cam_usb_thread(void *ptr)
|
||||
{
|
||||
DRV_TRACE_MARKER();
|
||||
U_TRACE_SET_THREAD_NAME("WMR: USB-Camera");
|
||||
|
||||
struct wmr_camera *cam = ptr;
|
||||
|
||||
|
@ -223,6 +223,7 @@ wmr_cam_usb_thread(void *ptr)
|
|||
//! @todo Think this is not needed? what condition are we waiting for?
|
||||
os_thread_helper_wait_locked(&cam->usb_thread);
|
||||
os_thread_helper_unlock(&cam->usb_thread);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -581,7 +581,7 @@ control_read_packets(struct wmr_hmd *wh)
|
|||
static void *
|
||||
wmr_run_thread(void *ptr)
|
||||
{
|
||||
DRV_TRACE_MARKER();
|
||||
U_TRACE_SET_THREAD_NAME("WMR: USB-HMD");
|
||||
|
||||
struct wmr_hmd *wh = (struct wmr_hmd *)ptr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue