Skip to content

Commit

Permalink
was/async/Control: add method GetUringQueue()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jan 21, 2025
1 parent 84c75c3 commit aa10d46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/was/async/Control.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa10d46

Please sign in to comment.