Commit graph

4 commits

Author SHA1 Message Date
7eedf9754b
all: use of unsafe pointer for ring, and adjustments
There's other adjustment/addition:
 * Function name CQE/SQE renamed to Cqe/Sqe.
 * SQ entry union sets value withput util to reduce function
   complexity, so leaving function budget for another stuff.
 * UserData has its own type, implement for uint64, uintptr,
   and unsafe.
 * TODO: decide what to use `Syscall` or `RawSyscall`.
 * Exposed `SeenCqe`.
 * Ignore *.test file extension.
 * Inline cost tool.

Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-28 19:45:51 +07:00
f3ba7e7189
queue: fix cqe peek batch, and improve test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:20:18 +07:00
793e0b8cbd
queue: impl wait cqe, and tests
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:24:46 +07:00
d28b913247
all: initial files
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-05 04:52:54 +07:00