FACT++  1.0
void callTimerHandler ( jobject *  _aDimTimer)

Definition at line 886 of file dim_jni.c.

References dim_jni_attachThread(), NativeDimTimer_timerHandler, and theJavaVM.

Referenced by timer_callback().

887 {
888 // jobject aDimTimer = *_aDimTimer;
889  JNIEnv* env;
890  int doit;
891 
892  doit = dim_jni_attachThread(&env);
893 // (*theJavaVM)->AttachCurrentThread(theJavaVM, (void *)&env, NULL);
894 //printf("Got callback %08x\n", _aDimTimer);
895  (*env)->CallVoidMethod(env, (jobject)_aDimTimer, NativeDimTimer_timerHandler, NULL);
896  if(doit)
897  (*theJavaVM)->DetachCurrentThread(theJavaVM);
898 
899  return;
900 }
JavaVM * theJavaVM
Definition: dim_jni.c:85
jmethodID NativeDimTimer_timerHandler
Definition: dim_jni.c:115
int dim_jni_attachThread(JNIEnv **env)
Definition: dim_jni.c:171

+ Here is the call graph for this function:

+ Here is the caller graph for this function: