Thomasdezeeuw / a10

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

Use DropWaker SubmissionQueue::cancel_op #139

Closed Thomasdezeeuw closed 3 months ago

Thomasdezeeuw commented 3 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.