diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-09-23 12:32:31 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-09-23 12:32:31 -0400 |
| commit | 07af98f3a5a54a8736109ed031d3177508943299 (patch) | |
| tree | 032427fabed19c59349c51ce842517e6895a33b8 /include/kpl/io.h | |
| parent | d93466b950ff760a1dd7fd0c2d8ae72c8f1ee0b5 (diff) | |
add task queues
Diffstat (limited to 'include/kpl/io.h')
| -rw-r--r-- | include/kpl/io.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/kpl/io.h b/include/kpl/io.h index 9a85d1f..514f2d4 100644 --- a/include/kpl/io.h +++ b/include/kpl/io.h @@ -5,16 +5,17 @@ #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 +typedef enum : int8_t { + KPL_CONFIG_IO_QUEUE_POW2_MIN = 4, + KPL_CONFIG_IO_QUEUE_POW2_DEFAULT = 10, + KPL_CONFIG_IO_QUEUE_POW2_MAX = 16 } kpl_io_queue_pow_options; typedef struct { - int32_t queue_pow; + int8_t queue_pow2; } kpl_config_io; typedef struct { - + kpl_config_io *config_io; + // TODO } kpl_io; |
