238 239 JNIEXPORT void JNICALL 240 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio); 241 242 JNIEXPORT void JNICALL 243 JVM_Yield(JNIEnv *env, jclass threadClass); 244 245 JNIEXPORT void JNICALL 246 JVM_Sleep(JNIEnv *env, jclass threadClass, jlong millis); 247 248 JNIEXPORT jobject JNICALL 249 JVM_CurrentThread(JNIEnv *env, jclass threadClass); 250 251 JNIEXPORT jint JNICALL 252 JVM_CountStackFrames(JNIEnv *env, jobject thread); 253 254 JNIEXPORT void JNICALL 255 JVM_Interrupt(JNIEnv *env, jobject thread); 256 257 JNIEXPORT jboolean JNICALL 258 JVM_IsInterrupted(JNIEnv *env, jobject thread, jboolean clearInterrupted); 259 260 JNIEXPORT jboolean JNICALL 261 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 262 263 JNIEXPORT void JNICALL 264 JVM_DumpAllStacks(JNIEnv *env, jclass unused); 265 266 JNIEXPORT jobjectArray JNICALL 267 JVM_GetAllThreads(JNIEnv *env, jclass dummy); 268 269 JNIEXPORT void JNICALL 270 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name); 271 272 /* getStackTrace() and getAllStackTraces() method */ 273 JNIEXPORT jobjectArray JNICALL 274 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads); 275 276 /* 277 * java.lang.SecurityManager 278 */ 279 JNIEXPORT jobjectArray JNICALL 280 JVM_GetClassContext(JNIEnv *env); | 238 239 JNIEXPORT void JNICALL 240 JVM_SetThreadPriority(JNIEnv *env, jobject thread, jint prio); 241 242 JNIEXPORT void JNICALL 243 JVM_Yield(JNIEnv *env, jclass threadClass); 244 245 JNIEXPORT void JNICALL 246 JVM_Sleep(JNIEnv *env, jclass threadClass, jlong millis); 247 248 JNIEXPORT jobject JNICALL 249 JVM_CurrentThread(JNIEnv *env, jclass threadClass); 250 251 JNIEXPORT jint JNICALL 252 JVM_CountStackFrames(JNIEnv *env, jobject thread); 253 254 JNIEXPORT void JNICALL 255 JVM_Interrupt(JNIEnv *env, jobject thread); 256 257 JNIEXPORT jboolean JNICALL 258 JVM_HoldsLock(JNIEnv *env, jclass threadClass, jobject obj); 259 260 JNIEXPORT void JNICALL 261 JVM_DumpAllStacks(JNIEnv *env, jclass unused); 262 263 JNIEXPORT jobjectArray JNICALL 264 JVM_GetAllThreads(JNIEnv *env, jclass dummy); 265 266 JNIEXPORT void JNICALL 267 JVM_SetNativeThreadName(JNIEnv *env, jobject jthread, jstring name); 268 269 /* getStackTrace() and getAllStackTraces() method */ 270 JNIEXPORT jobjectArray JNICALL 271 JVM_DumpThreads(JNIEnv *env, jclass threadClass, jobjectArray threads); 272 273 /* 274 * java.lang.SecurityManager 275 */ 276 JNIEXPORT jobjectArray JNICALL 277 JVM_GetClassContext(JNIEnv *env); |