From 6f859f58afff10f708bf06d55d1cfab575875627 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 10 May 2010 13:47:42 +1000 Subject: 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 --- source4/smbd/wscript_build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/smbd/wscript_build') 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', -- cgit v1.2.1