mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
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:
parent
a55561dcba
commit
90c0d8c225
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue