mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
bar: wait for all modules to have started up before continuing
After starting all the module threads, wait for all modules to have signalled "ready" before continuing. This will allow modules to do initial setup, and knowing that content() will *not* be called until they've signalled "ready".
This commit is contained in:
parent
7f0f096ba4
commit
a3eb7ebc08
8 changed files with 35 additions and 1 deletions
1
module.h
1
module.h
|
@ -11,6 +11,7 @@ struct module;
|
|||
|
||||
struct module_run_context {
|
||||
struct module *module;
|
||||
int ready_fd;
|
||||
int abort_fd;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue