summaryrefslogtreecommitdiff
path: root/source4/smbd/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-10 13:47:42 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-05-14 23:25:45 +1000
commit6f859f58afff10f708bf06d55d1cfab575875627 (patch)
treee5d953f770889f9590d26761db9e37c8834de6df /source4/smbd/wscript_build
parentbb2f7e3aee7e9b8437d7313800be0c2370da5ca1 (diff)
downloadsamba-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/wscript_build')
-rw-r--r--source4/smbd/wscript_build7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build
index 22a1d6b478..131741153c 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',