mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
libs/vkd3d: Set names for internal threads.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
cc8c0135a1
commit
89a2dc46dd
@@ -199,6 +199,10 @@ static void *vkd3d_fence_worker_main(void *arg)
|
||||
struct vkd3d_fence_worker *worker = arg;
|
||||
int rc;
|
||||
|
||||
#ifdef HAVE_PTHREAD_SETNAME_NP
|
||||
pthread_setname_np(pthread_self(), "vkd3d_worker");
|
||||
#endif
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if ((rc = pthread_mutex_lock(&worker->mutex)))
|
||||
|
||||
Reference in New Issue
Block a user