From aa10d46857d734e05c1f55d77751cdd93595d36e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 21 Jan 2025 14:03:09 +0100 Subject: [PATCH] was/async/Control: add method GetUringQueue() --- src/was/async/Control.hxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/was/async/Control.hxx b/src/was/async/Control.hxx index 767388a1..085c390e 100644 --- a/src/was/async/Control.hxx +++ b/src/was/async/Control.hxx @@ -65,6 +65,11 @@ public: void EnableUring(Uring::Queue &uring_queue) { socket.EnableUring(uring_queue); } + + [[gnu::pure]] + Uring::Queue *GetUringQueue() const noexcept { + return socket.GetUringQueue(); + } #endif auto &GetEventLoop() const noexcept {