diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-07-04 15:01:18 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-07-06 15:24:38 -0400 |
commit | 379dee8a47480938c067fca0acd01dea9b5afa33 (patch) | |
tree | f6e41efe2e019d360bc38c7229914c6b17724c13 /src/ioq.h | |
parent | 187ef092b6ea0f92dac53fbd2deb71379400446e (diff) | |
download | bfs-379dee8a47480938c067fca0acd01dea9b5afa33.tar.xz |
ioq: New ioq_capacity() function
Diffstat (limited to 'src/ioq.h')
-rw-r--r-- | src/ioq.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -41,6 +41,11 @@ struct ioq_res { struct ioq *ioq_create(size_t depth, size_t nthreads); /** + * Check the remaining capacity of a queue. + */ +size_t ioq_capacity(const struct ioq *ioq); + +/** * Asynchronous bfs_opendir(). * * @param ioq |