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

Function test2

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

Source from the content-addressed store, hash-verified

73}
74
75static void test2(void) {
76 log_info("test2: jvm=%p", g_jvm);
77
78 JNIEnv* env = get_env();
79 if (env == NULL) {
80 log_error("test2: get_env null");
81 return;
82 }
83 jclass clazz = env->GetObjectClass(g_fiber);
84 if (env->ExceptionOccurred()) {
85 log_error("test2: %d: some exception happened!", __LINE__);
86 env->ExceptionDescribe();
87 env->ExceptionClear();
88 }
89 log_info("test2: env=%p, class=%p", env, clazz);
90}
91
92static void sleep_fiber(void) {
93 while (true) {

Callers 2

sleep_fiberFunction · 0.70
fiber_thread_runFunction · 0.70

Calls 3

log_infoFunction · 0.70
get_envFunction · 0.70
log_errorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…