mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
data-loop: use pthread_cancel to stop thread
Use pthread_cancel to terminate the data threads. We need this for jack support but it's generally useful for a data thread.
This commit is contained in:
parent
bac6bf090c
commit
940aba8623
2 changed files with 17 additions and 26 deletions
|
|
@ -282,8 +282,6 @@ struct pw_data_loop {
|
|||
|
||||
struct spa_hook_list listener_list;
|
||||
|
||||
struct spa_source *event;
|
||||
|
||||
pthread_t thread;
|
||||
unsigned int created:1;
|
||||
unsigned int running:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue