Max Kellermann
85bab67083
input/uring: safe cancellation
...
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.
2020-09-23 11:07:26 +02:00
..
2020-03-12 19:04:38 -07:00
2020-09-23 11:07:26 +02:00
2020-03-12 15:25:38 -07:00
2020-03-26 17:19:13 +01:00
2020-01-18 19:23:49 +01:00
2020-03-12 15:25:38 -07:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-02-02 13:21:27 -08:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-03-16 00:11:15 -07:00
2020-09-04 18:35:21 +02:00
2020-01-18 19:23:49 +01:00
2020-09-21 11:43:18 +02:00
2020-09-21 11:43:18 +02:00
2020-03-16 23:02:35 -07:00
2020-03-12 15:25:38 -07:00
2020-05-05 17:41:03 +02:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-05-05 15:06:50 +02:00
2020-03-12 19:04:39 -07:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-03-16 00:11:15 -07:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-05-27 16:31:52 +02:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-03-12 15:25:38 -07:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-01-18 19:23:49 +01:00
2020-03-12 15:25:38 -07:00
2020-01-18 19:23:49 +01:00
2020-03-12 15:25:38 -07:00
2020-03-12 19:04:39 -07:00