From eabe7380e11468fbe8fa5b7bafdb4ce5b8a448ee Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 6 Oct 2024 11:09:09 -0600 Subject: libnetio: Ugg, posix aio is trash In concept, it's exactly what I need. But - glibc's implementation of it does not allow concurrent reads and writes - it not required to work for fds that don't have absolute offsets (so no pipes, no sockets) So just spin up a pthread for each syscall. I hate it. --- cmd/sbc_harness/config/config.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd') diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index c5ba6d8..ff18b88 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -9,7 +9,6 @@ #endif #if defined(USE_CONFIG_NETIO_POSIX) && !defined(_CONFIG_H_NETIO_POSIX_) #define _CONFIG_H_NETIO_POSIX_ -# define CONFIG_NETIO_ISLINUX 1 /* can we use Linux-kernel-specific fcntls? */ # define CONFIG_NETIO_NUM_PORTS 1 #endif -- cgit v1.2.3-2-g168b