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/wscript_build | |
parent | bb2f7e3aee7e9b8437d7313800be0c2370da5ca1 (diff) | |
download | samba-6f859f58afff10f708bf06d55d1cfab575875627.tar.gz |
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/wscript_build')
-rw-r--r-- | source4/smbd/wscript_build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build index 22a1d6b4786..131741153ca 100644 --- a/source4/smbd/wscript_build +++ b/source4/smbd/wscript_build @@ -59,6 +59,13 @@ bld.SAMBA_MODULE('process_model_prefork', deps='LIBEVENTS SETPROCTITLE' ) +bld.SAMBA_MODULE('process_model_onefork', + source='process_onefork.c', + subsystem='process_model', + init_function='process_model_onefork_init', + deps='LIBEVENTS SETPROCTITLE' + ) + bld.SAMBA_SUBSYSTEM('process_model', source='process_model.c', |