MCPcopy Create free account
hub / github.com/acl-dev/acl / run

Method run

android/samples/fiber/HttpFiber/src/main/cpp/fiber_waiter.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void fiber_waiter::run(void) {
22 log_info(">>>waiter fiber started!");
23
24 // can't call any jni function in fiber.
25 // test();
26
27 while (true) {
28 // blocking wait for one task;
29 acl::fiber* fiber = box_->pop();
30 fiber->start(12800000);
31 }
32}

Callers

nothing calls this directly

Calls 3

log_infoFunction · 0.70
popMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected