• 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
.github Loading commit data...
android Loading commit data...
build Loading commit data...
doc Loading commit data...
python/build Loading commit data...
src Loading commit data...
subprojects Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...