Thomasdezeeuw / a10

Library safely exposing the io_uring API.
MIT License
55 stars 2 forks source link

Use DropWaker SubmissionQueue::cancel_op #139

Closed Thomasdezeeuw closed 4 months ago

Thomasdezeeuw commented 4 months ago

Instead of always using the Box implementation, meaning we always allocate, we now require the caller to pass resources that implement DropWaker.

This means we can avoid the allocation for various types that implement DropWaker already.