mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
module: remove ready_fd
All modules are expected to handle a call to content() after having been instantiated. I.e. modules *cannot* even expect run() to have started running.
This commit is contained in:
parent
65cfcfb2de
commit
acdeff3b6e
14 changed files with 27 additions and 66 deletions
6
module.c
6
module.c
|
@ -27,12 +27,6 @@ module_default_destroy(struct module *mod)
|
|||
free(mod);
|
||||
}
|
||||
|
||||
void
|
||||
module_signal_ready(struct module_run_context *ctx)
|
||||
{
|
||||
write(ctx->ready_fd, &(uint64_t){1}, sizeof(uint64_t));
|
||||
}
|
||||
|
||||
struct exposable *
|
||||
module_begin_expose(struct module *mod)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue