| 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
| 2 | #include <jni.h> |
| 3 | /* Header for class java_lang_Thread */ |
| 4 | |
| 5 | #ifndef _Included_java_lang_Thread |
| 6 | #define _Included_java_lang_Thread |
| 7 | #ifdef __cplusplus |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | #undef java_lang_Thread_MIN_PRIORITY |
| 11 | #define java_lang_Thread_MIN_PRIORITY 1L |
| 12 | #undef java_lang_Thread_NORM_PRIORITY |
| 13 | #define java_lang_Thread_NORM_PRIORITY 5L |
| 14 | #undef java_lang_Thread_MAX_PRIORITY |
| 15 | #define java_lang_Thread_MAX_PRIORITY 10L |
| 16 | /* |
| 17 | * Class: java_lang_Thread |
| 18 | * Method: registerNatives |
| 19 | * Signature: ()V |
| 20 | */ |
| 21 | JNIEXPORT void JNICALL Java_java_lang_Thread_registerNatives |
| 22 | (JNIEnv *, jclass); |
| 23 | |
| 24 | /* |
| 25 | * Class: java_lang_Thread |
| 26 | * Method: currentThread |
| 27 | * Signature: ()Ljava/lang/Thread; |
| 28 | */ |
| 29 | JNIEXPORT jobject JNICALL Java_java_lang_Thread_currentThread |
| 30 | (JNIEnv *, jclass); |
| 31 | |
| 32 | /* |
| 33 | * Class: java_lang_Thread |
| 34 | * Method: yield |
| 35 | * Signature: ()V |
| 36 | */ |
| 37 | JNIEXPORT void JNICALL Java_java_lang_Thread_yield |
| 38 | (JNIEnv *, jclass); |
| 39 | |
| 40 | /* |
| 41 | * Class: java_lang_Thread |
| 42 | * Method: sleep |
| 43 | * Signature: (J)V |
| 44 | */ |
| 45 | JNIEXPORT void JNICALL Java_java_lang_Thread_sleep |
| 46 | (JNIEnv *, jclass, jlong); |
| 47 | |
| 48 | /* |
| 49 | * Class: java_lang_Thread |
| 50 | * Method: start0 |
| 51 | * Signature: ()V |
| 52 | */ |
| 53 | JNIEXPORT void JNICALL Java_java_lang_Thread_start0 |
| 54 | (JNIEnv *, jobject); |
| 55 | |
| 56 | /* |
| 57 | * Class: java_lang_Thread |
| 58 | * Method: isInterrupted |
| 59 | * Signature: (Z)Z |
| 60 | */ |
| 61 | JNIEXPORT jboolean JNICALL Java_java_lang_Thread_isInterrupted |
| 62 | (JNIEnv *, jobject, jboolean); |
| 63 | |
| 64 | /* |
| 65 | * Class: java_lang_Thread |
| 66 | * Method: isAlive |
| 67 | * Signature: ()Z |
| 68 | */ |
| 69 | JNIEXPORT jboolean JNICALL Java_java_lang_Thread_isAlive |
| 70 | (JNIEnv *, jobject); |
| 71 | |
| 72 | /* |
| 73 | * Class: java_lang_Thread |
| 74 | * Method: countStackFrames |
| 75 | * Signature: ()I |
| 76 | */ |
| 77 | JNIEXPORT jint JNICALL Java_java_lang_Thread_countStackFrames |
| 78 | (JNIEnv *, jobject); |
| 79 | |
| 80 | /* |
| 81 | * Class: java_lang_Thread |
| 82 | * Method: holdsLock |
| 83 | * Signature: (Ljava/lang/Object;)Z |
| 84 | */ |
| 85 | JNIEXPORT jboolean JNICALL Java_java_lang_Thread_holdsLock |
| 86 | (JNIEnv *, jclass, jobject); |
| 87 | |
| 88 | /* |
| 89 | * Class: java_lang_Thread |
| 90 | * Method: dumpThreads |
| 91 | * Signature: ([Ljava/lang/Thread;)[[Ljava/lang/StackTraceElement; |
| 92 | */ |
| 93 | JNIEXPORT jobjectArray JNICALL Java_java_lang_Thread_dumpThreads |
| 94 | (JNIEnv *, jclass, jobjectArray); |
| 95 | |
| 96 | /* |
| 97 | * Class: java_lang_Thread |
| 98 | * Method: getThreads |
| 99 | * Signature: ()[Ljava/lang/Thread; |
| 100 | */ |
| 101 | JNIEXPORT jobjectArray JNICALL Java_java_lang_Thread_getThreads |
| 102 | (JNIEnv *, jclass); |
| 103 | |
| 104 | /* |
| 105 | * Class: java_lang_Thread |
| 106 | * Method: setPriority0 |
| 107 | * Signature: (I)V |
| 108 | */ |
| 109 | JNIEXPORT void JNICALL Java_java_lang_Thread_setPriority0 |
| 110 | (JNIEnv *, jobject, jint); |
| 111 | |
| 112 | /* |
| 113 | * Class: java_lang_Thread |
| 114 | * Method: stop0 |
| 115 | * Signature: (Ljava/lang/Object;)V |
| 116 | */ |
| 117 | JNIEXPORT void JNICALL Java_java_lang_Thread_stop0 |
| 118 | (JNIEnv *, jobject, jobject); |
| 119 | |
| 120 | /* |
| 121 | * Class: java_lang_Thread |
| 122 | * Method: suspend0 |
| 123 | * Signature: ()V |
| 124 | */ |
| 125 | JNIEXPORT void JNICALL Java_java_lang_Thread_suspend0 |
| 126 | (JNIEnv *, jobject); |
| 127 | |
| 128 | /* |
| 129 | * Class: java_lang_Thread |
| 130 | * Method: resume0 |
| 131 | * Signature: ()V |
| 132 | */ |
| 133 | JNIEXPORT void JNICALL Java_java_lang_Thread_resume0 |
| 134 | (JNIEnv *, jobject); |
| 135 | |
| 136 | /* |
| 137 | * Class: java_lang_Thread |
| 138 | * Method: interrupt0 |
| 139 | * Signature: ()V |
| 140 | */ |
| 141 | JNIEXPORT void JNICALL Java_java_lang_Thread_interrupt0 |
| 142 | (JNIEnv *, jobject); |
| 143 | |
| 144 | /* |
| 145 | * Class: java_lang_Thread |
| 146 | * Method: setNativeName |
| 147 | * Signature: (Ljava/lang/String;)V |
| 148 | */ |
| 149 | JNIEXPORT void JNICALL Java_java_lang_Thread_setNativeName |
| 150 | (JNIEnv *, jobject, jstring); |
| 151 | |
| 152 | #ifdef __cplusplus |
| 153 | } |
| 154 | #endif |
| 155 | #endif |
| 156 | |