java - Execution of static methods from native c code -
i have call static java methods c.
some-c-code (*g_env)->callstaticvoidmethoda(g_env, g_obj, g_mid, val); some-c-code (*g_env)->callstaticvoidmethoda(g_env, g_obj, g_mid, val); some-c-code (*g_env)->callstaticvoidmethoda(g_env, g_obj, g_mid, val); some-c-code
i have call java methods several times @ different places. code executes java methods first , comes executing native code. please tell me how can run code in execution sequence required ?
p.s. i've cached jvm, jobject , jmethod , attaching them current thread using attachcurrentthread , detachcurrentthread
Comments
Post a Comment