summaryrefslogtreecommitdiffstats
path: root/src/ioq.h
Commit message (Collapse)AuthorAgeFilesLines
* ioq: Prefetch pointers before popping themTavian Barnes2024-12-031-8/+2
| | | | | Also, cache-align struct ioq_ent to avoid false sharing when two workers are handling neighbouring requests.
* ioq: Add an ioq_nop() operation for benchmarkingTavian Barnes2024-12-021-0/+30
|
* Write @arg instead of @param arg in doc commentsTavian Barnes2024-10-011-23/+23
|
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+0
| | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented.
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+2
|
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* ioq: Ensure ioq_ent is sufficiently alignedTavian Barnes2024-02-161-1/+8
| | | | | | | The natural alignment of struct ioq_ent is only 2 on m68k, so over-align it to at least 4 bytes on all platforms. Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=m68k&ver=3.1-1&stamp=1707699583
* ioq: Pack ioq_ent args structsTavian Barnes2024-02-141-3/+3
|
* ioq: Implement ioq_stat()Tavian Barnes2024-01-181-0/+31
|
* ioq: Use the negative errno conventionTavian Barnes2024-01-131-4/+2
|
* ioq: Implement a better non-blocking popTavian Barnes2023-11-091-11/+2
|
* dir: Add a flags parameter to bfs_opendir()Tavian Barnes2023-10-171-1/+5
|
* ioq: Implement async close() and closedir()Tavian Barnes2023-07-101-10/+71
|
* ioq: New ioq_capacity() functionTavian Barnes2023-07-061-0/+5
|
* ioq: New ioq_cancel() functionTavian Barnes2023-06-261-0/+5
|
* dir: Arena-allocate directoriesTavian Barnes2023-06-201-1/+3
|
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-2/+2
|
* ioq: Implement an async I/O queueTavian Barnes2023-06-121-0/+94