mirror of
https://github.com/samba-team/samba.git
synced 2025-06-19 23:17:05 +03:00
This code has not seen any use or development for a while. While probably being a good source of inspiration, it will inevitably bit-rot. To really get to a multi-threaded process model, many of the Samba libraries have to be made thread-safe. Why this patch? Right now I am trying to clean up our debug system, and process_thread.c is the only reference to the _suspicious_ functions in debug.c. The alternative would be to factor those out of debug, but as this code is unused for so long, the alternative approach is to just remove it. If someone wants to restart development on a threaded process model, the code is still around in the git history and can be resurrected easily. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
64 lines
2.3 KiB
Python
64 lines
2.3 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_LIBRARY('service',
|
|
source='service.c service_stream.c service_named_pipe.c service_task.c',
|
|
autoproto='service_proto.h',
|
|
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
|
|
private_library=True,
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
|
|
bld.SAMBA_LIBRARY('process_model',
|
|
source='process_model.c',
|
|
autoproto='process_model_proto.h',
|
|
deps='samba-util samba-hostconfig samba-modules',
|
|
private_library=True,
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
bld.SAMBA_BINARY('samba',
|
|
source='server.c',
|
|
subsystem_name='service',
|
|
deps='''events process_model service samba-hostconfig samba-util POPT_SAMBA
|
|
popt gensec registry ntptr ntvfs share cluster COMMON_SCHANNEL SECRETS''',
|
|
pyembed=True,
|
|
install_path='${SBINDIR}',
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
bld.SAMBA_MODULE('process_model_single',
|
|
source='process_single.c',
|
|
subsystem='process_model',
|
|
init_function='process_model_single_init',
|
|
deps='cluster process_model samba-sockets',
|
|
internal_module=True
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('process_model_standard',
|
|
source='process_standard.c',
|
|
subsystem='process_model',
|
|
init_function='process_model_standard_init',
|
|
deps='events ldbsamba process_model samba-sockets cluster',
|
|
internal_module=False
|
|
)
|
|
|
|
bld.SAMBA_MODULE('process_model_prefork',
|
|
source='process_prefork.c',
|
|
subsystem='process_model',
|
|
init_function='process_model_prefork_init',
|
|
deps='events ldbsamba cluster samba-sockets process_model',
|
|
internal_module=False
|
|
)
|
|
|
|
bld.SAMBA_MODULE('process_model_onefork',
|
|
source='process_onefork.c',
|
|
subsystem='process_model',
|
|
init_function='process_model_onefork_init',
|
|
deps='events ldbsamba process_model cluster samba-sockets',
|
|
internal_module=False
|
|
)
|
|
|
|
|