Skip to content

Commit

Permalink
event/net/BufferedSocket: add method GetUringQueue()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jan 17, 2025
1 parent 38da61c commit f5fc7b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libcommon
5 changes: 5 additions & 0 deletions src/fs/FilteredSocket.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ public:
void EnableUring(Uring::Queue &uring_queue) noexcept {
base.EnableUring(uring_queue);
}

[[gnu::pure]]
Uring::Queue *GetUringQueue() const noexcept {
return base.GetUringQueue();
}
#endif

bool HasUring() const noexcept {
Expand Down

0 comments on commit f5fc7b9

Please sign in to comment.