aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/io.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-09-20 17:10:21 -0400
committernodist <kevin.comas.git@gmail.com>2026-09-20 17:10:21 -0400
commit260e50d627aea535abcd9d9902c1b4ae56da4c54 (patch)
tree91a5ec00e02e67c78437040a798f2fa3140e57a0 /include/kpl/io.h
parent4e19e6ab1bd24466d9dcb0d8eea54a7e3d84d576 (diff)
add config for io and thread
Diffstat (limited to 'include/kpl/io.h')
-rw-r--r--include/kpl/io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kpl/io.h b/include/kpl/io.h
index e6ea690..2b33755 100644
--- a/include/kpl/io.h
+++ b/include/kpl/io.h
@@ -5,6 +5,12 @@
#include "kpl/macro.h"
+typedef enum : int32_t {
+ KPL_IO_QUEUE_POW_MIN = 4,
+ KPL_IO_QUEUE_POW_DEFAULT = 10,
+ KPL_IO_QUEUE_POW_MAX = 16
+} kpl_io_queue_pow_options;
+
typedef struct {
int32_t queue_pow;
} kpl_config_io;