diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-10 13:47:42 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-05-14 23:25:45 +1000 |
commit | 6f859f58afff10f708bf06d55d1cfab575875627 (patch) | |
tree | e5d953f770889f9590d26761db9e37c8834de6df /source4/smbd/process_model.c | |
parent | bb2f7e3aee7e9b8437d7313800be0c2370da5ca1 (diff) | |
download | samba-6f859f58afff10f708bf06d55d1cfab575875627.tar.gz samba-6f859f58afff10f708bf06d55d1cfab575875627.tar.bz2 samba-6f859f58afff10f708bf06d55d1cfab575875627.zip |
s4:process_modals Add another process modal - 'onefork'
This will fork off exactly one child to handle some task, ensuring
that if it dies or changes global state, that this does not change
everything.
Andrew Bartlett
Diffstat (limited to 'source4/smbd/process_model.c')
-rw-r--r-- | source4/smbd/process_model.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c index e3ea4dbf39..d3f234eb41 100644 --- a/source4/smbd/process_model.c +++ b/source4/smbd/process_model.c @@ -86,6 +86,7 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx) extern NTSTATUS process_model_thread_init(void); extern NTSTATUS process_model_standard_init(void); extern NTSTATUS process_model_prefork_init(void); + extern NTSTATUS process_model_onefork_init(void); extern NTSTATUS process_model_single_init(void); init_module_fn static_init[] = { STATIC_process_model_MODULES }; init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "process_model"); |