diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-06 11:09:09 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-06 11:09:09 -0600 |
commit | eabe7380e11468fbe8fa5b7bafdb4ce5b8a448ee (patch) | |
tree | 5b9c7483983eb4b4139869211d6c96cf78bbef36 /cmd/sbc_harness | |
parent | 7ca16c45a2ecfbf415fffd384eb5efd32180c5da (diff) |
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.
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r-- | cmd/sbc_harness/config/config.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 |