threaddata.h
来自「基于LWVCL开发的库」· C头文件 代码 · 共 42 行
H
42 行
#ifndef __thread_data_h#define __thread_data_h#include "jni.h"#include "stackTrace-impl.h"#include "exception.h"#include "jni/jnirefs.h"#include "ksem.h"/* * Structure that defines any per-thread data needed by kaffe. */typedef struct _threadData { JNIEnv jniEnv; void *jlThread; /* required by the jnireferences stuff */ jnirefs *jnireferences; /* things necessary for jvmpi */#ifdef ENABLE_JVMPI struct _exceptionFrame topFrame; void *jvmpiData;#endif /* things required by the locking subsystem */ struct Ksem sem; struct _jthread *nextlk; /* things required for exception handling */ VmExceptHandler *exceptPtr; struct Hjava_lang_Throwable *exceptObj; int needOnStack;} threadData;#define THREAD_DATA_INITIALIZED(td) ((td)->jniEnv != NULL)#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?