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