We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ca09c4 commit 4730776Copy full SHA for 4730776
Sources/IORing/Submission.swift
@@ -100,7 +100,7 @@ class Submission<T: Sendable>: CustomStringConvertible {
100
do {
101
precondition(cancellationToken != nil)
102
let sqe = try ring.getSqe()
103
- io_uring_prep_cancel(sqe, cancellationToken, 0)
+ io_uring_prep_cancel(sqe, cancellationToken, Int32(IORING_ASYNC_CANCEL_USERDATA))
104
_ = io_uring_sqe_set_block(sqe) { cqe in
105
self.onCancel(cqe: cqe.pointee)
106
}
0 commit comments