forked from external/yambar
module: add new function module_signal_ready()
This commit is contained in:
parent
a3eb7ebc08
commit
3413232ed6
9 changed files with 19 additions and 14 deletions
5
bar.c
5
bar.c
|
@ -417,7 +417,10 @@ run(struct bar_run_context *run_ctx)
|
|||
}
|
||||
|
||||
LOG_DBG("waiting for modules to become ready");
|
||||
for (size_t i = 0; i < bar->left.count + bar->center.count + bar->right.count; i++) {
|
||||
|
||||
for (size_t i = 0; i < (bar->left.count +
|
||||
bar->center.count +
|
||||
bar->right.count); i++) {
|
||||
uint64_t b;
|
||||
read(ready_fd, &b, sizeof(b));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue