[IoContext] wrap CQ locking in if constexpr
Compare changes
+ 24
− 19
@@ -211,24 +211,26 @@ reap_cqes:
@@ -245,7 +247,10 @@ reap_cqes:
@@ -336,7 +341,7 @@ reap_cqes:
We don't need to pay the overhead of the atomic operations on each dispatch loop if there is no concurrent access to worker CQs.