vrend: set the name for the sync thread

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 4 years ago
parent 5c40b8d6a8
commit 200ef69dc9
  1. 1
      src/vrend_renderer.c

@ -6047,6 +6047,7 @@ static int thread_sync(UNUSED void *arg)
virgl_gl_context gl_context = vrend_state.sync_context; virgl_gl_context gl_context = vrend_state.sync_context;
struct vrend_fence *fence, *stor; struct vrend_fence *fence, *stor;
pipe_thread_setname("vrend-sync");
pipe_mutex_lock(vrend_state.fence_mutex); pipe_mutex_lock(vrend_state.fence_mutex);
vrend_clicbs->make_current(gl_context); vrend_clicbs->make_current(gl_context);

Loading…
Cancel
Save