tokio-linux-aio
tokio-linux-aio copied to clipboard
Support futures cancellation. Migrate to parking_lot
The current implementation doesn't support future cancellation. If the future that scheduled AIO action was canceled, the data (which was previously sent in aio_data
) will be freed, but AioPollFuture
will try to unsafely reuse the freed pointer. This PR fixes the problem but unfortunately introduces some performance penalty.