search for: 8e0e88f6

Displaying 1 result from an estimated 1 matches for "8e0e88f6".

2020 Jun 22
4
[PATCH nbdkit 1/2] server: Add .after_fork callback, mainly for plugins to create threads.
....config_help = eval_config_help, .thread_model = sh_thread_model, .get_ready = sh_get_ready, + .after_fork = sh_after_fork, .preconnect = sh_preconnect, .open = sh_open, diff --git a/plugins/ocaml/ocaml.c b/plugins/ocaml/ocaml.c index 8e0e88f6..d8b61108 100644 --- a/plugins/ocaml/ocaml.c +++ b/plugins/ocaml/ocaml.c @@ -120,6 +120,7 @@ static value config_complete_fn; static value thread_model_fn; static value get_ready_fn; +static value after_fork_fn; static value preconnect_fn; static value open_fn; @@ -272,6 +273,25 @@ get_read...