• Max Kellermann's avatar
    input/uring: safe cancellation · 85bab670
    Max Kellermann authored
    My concept with `class CancellableOperation` doesn't work properly,
    because the kernel may continue to write to the given buffer as soon
    as the read finishes.
    
    To fix this, this commit adds `class ReadOperation` which owns the
    buffer and the `struct iovec`.  Instances of this class persist until
    the read really finishes, even if the operation is canceled.
    85bab670
Name
Last commit
Last update
..
uring Loading commit data...
FileDescriptor.cxx Loading commit data...
FileDescriptor.hxx Loading commit data...
Open.cxx Loading commit data...
Open.hxx Loading commit data...
UniqueFileDescriptor.hxx Loading commit data...
meson.build Loading commit data...