Skip to content

Commit

Permalink
Tweak to ambassador
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebenezer-group committed Nov 5, 2024
1 parent af66879 commit 5b2a6bc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/tiers/cmwA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ class ioUring{
constexpr static int maxBatch=10;

auto getSqe (){
if(auto e=::io_uring_get_sqe(&rng);e)return e;
else{
::io_uring_submit(&rng);
if((e=::io_uring_get_sqe(&rng)))return e;
raise("getSqe");
}
auto e=::io_uring_get_sqe(&rng);
if(e)return e;
::io_uring_submit(&rng);
if((e=::io_uring_get_sqe(&rng)))return e;
raise("getSqe");
}

public:
Expand Down

0 comments on commit 5b2a6bc

Please sign in to comment.