From 90c0d8c2257c6d36fd34570a76a12339c95aa154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sun, 8 Jun 2025 23:40:56 +0200 Subject: [PATCH] pipewire: module-rt: use `pw_thread_utils_join()` `pw_thread_utils_create()` is used to create the thread, so use the corresponding `pw_thread_utils_join()` instead of just `pthread_join()`. --- src/modules/module-rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-rt.c b/src/modules/module-rt.c index 55579ae9f..dcc9c31a8 100644 --- a/src/modules/module-rt.c +++ b/src/modules/module-rt.c @@ -755,7 +755,7 @@ static int impl_join(void *object, struct spa_thread *thread, void **retval) struct thread *thr; int res; - res = pthread_join(pt, retval); + res = pw_thread_utils_join(thread, retval); pthread_mutex_lock(&impl->lock); if ((thr = find_thread_by_pt(impl, pt)) != NULL) {