mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-rt: wait for thread start
So that we always invoke in the thread. See #3357
This commit is contained in:
parent
33be898130
commit
47f7802c2e
1 changed files with 1 additions and 0 deletions
|
|
@ -1078,6 +1078,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
}
|
||||
pw_thread_loop_lock(impl->thread_loop);
|
||||
pw_thread_loop_start(impl->thread_loop);
|
||||
pw_thread_loop_wait(impl->thread_loop);
|
||||
pw_thread_loop_unlock(impl->thread_loop);
|
||||
|
||||
pw_loop_invoke(pw_thread_loop_get_loop(impl->thread_loop),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue