MCPcopy Create free account
hub / github.com/ceph/ceph / wait

Method wait

src/test/msgr/test_async_networkstack.cc:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 done = true;
107 }
108 void wait() {
109 int us = 1000 * 1000 * 1000;
110 while (!done) {
111 ASSERT_TRUE(us > 0);
112 usleep(100);
113 us -= 100;
114 }
115 }
116 };
117 template<typename func>
118 void exec_events(func &&f) {

Callers 1

exec_eventsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected