1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-06 08:59:08 +03:00
Files
samba-mirror/source3/lib/pthreadpool/wscript_build
Volker Lendecke bbcf2204b5 lib: Add pthreadpool_tevent
This is a replacement for fncall.[ch] without having to go through
a pipe for job completion signalling

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-08-24 01:33:48 +02:00

24 lines
850 B
Python

#!/usr/bin/env python
if bld.env.WITH_PTHREADPOOL:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='''pthreadpool.c
pthreadpool_pipe.c
pthreadpool_tevent.c
''',
deps='pthread rt replace tevent-util')
else:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='''pthreadpool_sync.c
pthreadpool_pipe.c
pthreadpool_tevent.c
''',
deps='replace tevent-util')
bld.SAMBA3_BINARY('pthreadpooltest',
source='tests.c',
deps='PTHREADPOOL',
enabled=bld.env.WITH_PTHREADPOOL,
install=False)