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()`.
This commit is contained in:
Barnabás Pőcze 2025-06-08 23:40:56 +02:00 committed by Wim Taymans
parent a55561dcba
commit 90c0d8c225

View file

@ -755,7 +755,7 @@ static int impl_join(void *object, struct spa_thread *thread, void **retval)
struct thread *thr; struct thread *thr;
int res; int res;
res = pthread_join(pt, retval); res = pw_thread_utils_join(thread, retval);
pthread_mutex_lock(&impl->lock); pthread_mutex_lock(&impl->lock);
if ((thr = find_thread_by_pt(impl, pt)) != NULL) { if ((thr = find_thread_by_pt(impl, pt)) != NULL) {