diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-08 05:32:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-08 05:32:40 +0000 |
commit | 9efa646c7fb520747804acdc829b3cccea0dce63 (patch) | |
tree | 8b98fc5da073f75d6ceea7bee433bb1f056843f5 /package/deps.mak | |
parent | 9f03a9a73f35b998ea5d923dcdcea087e5712858 (diff) | |
download | s6-networking-9efa646c7fb520747804acdc829b3cccea0dce63.tar.xz |
New versions of s6-tcpserver4d and s6-tcpserver6d
- both now use posix_spawn when available
- s6-tcpserver4d uses avltree for logarithmic lookups
- s6-tcpserver6d still has the linear lookup
- the point was to benchmark linear vs logarithmic, but the
fork() overhead overshadowed everything
- now with fork() out of the way, I'm going back to benchmarks
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package/deps.mak')
-rw-r--r-- | package/deps.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/deps.mak b/package/deps.mak index 4227dd5..0ba4787 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -20,6 +20,7 @@ src/conn-tools/s6-tcpserver4d.o src/conn-tools/s6-tcpserver4d.lo: src/conn-tools src/conn-tools/s6-tcpserver6-socketbinder.o src/conn-tools/s6-tcpserver6-socketbinder.lo: src/conn-tools/s6-tcpserver6-socketbinder.c src/conn-tools/s6-tcpserver6.o src/conn-tools/s6-tcpserver6.lo: src/conn-tools/s6-tcpserver6.c src/include/s6-networking/config.h src/conn-tools/s6-tcpserver6d.o src/conn-tools/s6-tcpserver6d.lo: src/conn-tools/s6-tcpserver6d.c +src/conn-tools/tcpserverd_spawn.o src/conn-tools/tcpserverd_spawn.lo: src/conn-tools/tcpserverd_spawn.c src/conn-tools/tcpserverd-internal.h src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_client.lo: src/libs6net/s6net_ident_client.c src/include/s6-networking/ident.h src/libs6net/s6net_ident_error.o src/libs6net/s6net_ident_error.lo: src/libs6net/s6net_ident_error.c src/include/s6-networking/ident.h src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_get.lo: src/libs6net/s6net_ident_reply_get.c src/include/s6-networking/ident.h @@ -127,13 +128,13 @@ s6-tcpserver4: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} s6-tcpserver4: src/conn-tools/s6-tcpserver4.o s6-tcpserver4-socketbinder: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} s6-tcpserver4-socketbinder: src/conn-tools/s6-tcpserver4-socketbinder.o -s6-tcpserver4d: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} +s6-tcpserver4d: EXTRA_LIBS := -ls6 -lskarnet ${SOCKET_LIB} s6-tcpserver4d: src/conn-tools/s6-tcpserver4d.o s6-tcpserver6: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} s6-tcpserver6: src/conn-tools/s6-tcpserver6.o s6-tcpserver6-socketbinder: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} s6-tcpserver6-socketbinder: src/conn-tools/s6-tcpserver6-socketbinder.o -s6-tcpserver6d: EXTRA_LIBS := -lskarnet ${SOCKET_LIB} +s6-tcpserver6d: EXTRA_LIBS := -ls6 -lskarnet ${SOCKET_LIB} s6-tcpserver6d: src/conn-tools/s6-tcpserver6d.o ifeq ($(strip $(STATIC_LIBS_ARE_PIC)),) libs6net.a.xyzzy: src/libs6net/s6net_ident_client.o src/libs6net/s6net_ident_reply_get.o src/libs6net/s6net_ident_reply_parse.o src/libs6net/s6net_ident_error.o |