mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
loop: remove the eventfd to stop the loop
We can just as well use _invoke to schedule a task in the context of the loop.
This commit is contained in:
parent
3256c6e5e7
commit
5ab031b472
3 changed files with 18 additions and 35 deletions
|
|
@ -472,9 +472,9 @@ struct pw_data_loop {
|
|||
struct pw_loop *loop;
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct spa_source *event;
|
||||
|
||||
pthread_t thread;
|
||||
unsigned int cancel:1;
|
||||
unsigned int created:1;
|
||||
unsigned int running:1;
|
||||
};
|
||||
|
|
@ -486,7 +486,6 @@ struct pw_main_loop {
|
|||
struct pw_loop *loop;
|
||||
|
||||
struct spa_hook_list listener_list;
|
||||
struct spa_source *event;
|
||||
|
||||
unsigned int created:1;
|
||||
unsigned int running:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue