Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ wait
Method
wait
src/msg/async/Stack.cc:185–188 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
183
if (drain_count == 0) drain_cond.notify_all();
184
}
185
void wait() {
186
std::unique_lock l{drain_lock};
187
drain_cond.wait(l, [this] { return drain_count == 0; });
188
}
189
};
190
191
void NetworkStack::drain()
Callers
1
drain
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected