Java threading interface - contains functions to work with Java threads. The generic part od Java thrading interface is mostly targeted to address the needs of java.lang.Object
and java.lang.Thread
classes implementations. All functions in this interface start with <>jthread_*
prefix. The implemnentation of this layer provides the mapping of Java thrads onto native/OS threads.
For more detailes, see thread manager component documentation located at vm/thread/doc/ThreadManager.htm
typedef struct JVMTIThread* jvmti_thread_t |
typedef struct jthread_start_proc_data* jthread_start_proc_data_t |
typedef struct VM_thread* vm_thread_t |
VMEXPORT jlong jthread_thread_init | ( | JNIEnv * | jni_env, | |
jthread | java_thread, | |||
jobject | weak_ref, | |||
hythread_t | dead_thread | |||
) |
VMEXPORT IDATA jthread_create | ( | JNIEnv * | jni_env, | |
jthread | thread, | |||
jthread_start_proc_data_t | attrs | |||
) |
VMEXPORT IDATA jthread_create_with_function | ( | JNIEnv * | jni_env, | |
jthread | thread, | |||
jthread_start_proc_data_t | attrs | |||
) |
VMEXPORT IDATA jthread_vm_detach | ( | vm_thread_t | vm_thread | ) |
VMEXPORT IDATA jthread_yield | ( | ) |
VMEXPORT IDATA jthread_wait_for_all_nondaemon_threads | ( | ) |
VMEXPORT jthread jthread_self | ( | void | ) |
VMEXPORT jthread jthread_get_java_thread | ( | hythread_t | thread | ) |
Sets the name for the thread
.
[in] | thread | those attribute is set |
[in] | name | thread name |
java.lang.Thread.setName()
Returns the name for the thread
.
[in] | - | thread those attribute is read |
java.lang.Thread.getName()
VMEXPORT IDATA jthread_park | ( | ) |
VMEXPORT IDATA jthread_suspend_all | ( | jvmtiError * | results, | |
jint | count, | |||
const jobject * | thread_list | |||
) |
VMEXPORT IDATA jthread_resume_all | ( | jvmtiError * | results, | |
jint | count, | |||
const jobject * | thread_list | |||
) |
VMEXPORT IDATA jthread_cancel_all | ( | ) |
Genereated on Tue Mar 11 19:25:22 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.