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

Function fiber_thread_run

android/samples/fiber/http/src/main/cpp/http_client.cpp:99–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static void fiber_thread_run(fiber_waiter* waiter) {
100 waiter->start(256000);
101
102 go[=] {
103 sleep_fiber();
104 };
105
106 test1();
107 log_info("---------------------------------------------------------------");
108 test2();
109
110 log_info(">>>>>>fiber schedule started<<<");
111 acl::fiber::schedule();
112 log_info(">>>>>>fiber schedule stopped<<<");
113}
114
115extern "C" JNIEXPORT jlong JNICALL
116Java_com_example_http_HttpFiberThread_FiberSchedule(

Callers

nothing calls this directly

Calls 5

sleep_fiberFunction · 0.85
test1Function · 0.70
log_infoFunction · 0.70
test2Function · 0.70
startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…