#define TT_PHASE_NONE 0 |
#define TT_PHASE_DEAD 1 |
#define TT_PHASE_OK 2 |
#define TT_PHASE_ERROR 3 |
#define TT_PHASE_SLEEPING 4 |
#define TT_PHASE_WAITING 5 |
#define TT_PHASE_IN_CRITICAL_SECTON 7 |
#define TT_PHASE_WAITING_ON_MONITOR 8 |
#define TT_PHASE_WAITING_ON_WAIT 9 |
#define TT_PHASE_WAITING_ON_JOIN 10 |
#define TT_PHASE_RUNNING 11 |
#define TT_PHASE_PARKED 12 |
#define TT_PHASE_ATTACHED 13 |
#define TT_PHASE_ATTACHED_TWICE 14 |
#define TT_PHASE_STEP_1 15 |
#define TT_PHASE_DETACHED 16 |
#define TT_PHASE_INTERRUPTED 17 |
#define TT_PHASE_ANY 18 |
#define TTS_INIT_COMMON_MONITOR 0 |
#define TTS_INIT_DIFFERENT_MONITORS 1 |
#define MAX_TESTED_THREAD_NUMBER 5 |
#define MAX_TIME_TO_WAIT 600000 |
#define MAX_OWNED_MONITORS_NMB 2 |
#define SLEEP_TIME 100 |
#define CLICK_TIME_MSEC 10 |
#define check_tested_thread_phase | ( | tts, | |||
phase | ) | if (check_phase(tts, phase) != TEST_PASSED) return TEST_FAILED; |
#define check_tested_thread_structures | ( | tts | ) | if (check_structure(tts) != TEST_PASSED) return TEST_FAILED; |
typedef jint(JNICALL *) create_java_vm_func(JavaVM **vm, JNIEnv **env, JavaVMInitArgs *args) |
void sleep_a_click | ( | void | ) |
void test_java_thread_setup | ( | int | argc, | |
char * | argv[] | |||
) |
void test_java_thread_teardown | ( | void | ) |
void tested_threads_init | ( | int | mode | ) |
void tested_threads_run | ( | jvmtiStartFunction | run_method_param | ) |
void tested_threads_run_common | ( | jvmtiStartFunction | run_method_param | ) |
void tested_threads_run_with_different_monitors | ( | jvmtiStartFunction | run_method_param | ) |
void tested_threads_run_with_jvmti_start_proc | ( | jvmtiStartFunction | jvmti_start_proc | ) |
void tested_os_threads_run | ( | hythread_entrypoint_t | run_method_param | ) |
int tested_threads_destroy | ( | ) |
int tested_threads_stop | ( | ) |
tested_thread_sturct_t* get_tts | ( | int | tts_index | ) |
int next_tested_thread | ( | tested_thread_sturct_t ** | tts | ) |
int prev_tested_thread | ( | tested_thread_sturct_t ** | tts | ) |
void reset_tested_thread_iterator | ( | tested_thread_sturct_t ** | tts | ) |
int check_structure | ( | tested_thread_sturct_t * | tts | ) |
int check_phase | ( | tested_thread_sturct_t * | tts, | |
int | phase | |||
) |
void tested_thread_started | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_ended | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_send_stop_request | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_wait_for_stop_request | ( | tested_thread_sturct_t * | tts | ) |
IDATA tested_thread_wait_for_stop_request_timed | ( | tested_thread_sturct_t * | tts, | |
I_64 | sleep_time | |||
) |
void tested_thread_wait_started | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_wait_running | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_wait_ended | ( | tested_thread_sturct_t * | tts | ) |
void tested_thread_wait_dead | ( | tested_thread_sturct_t * | tts | ) |
void test_thread_join | ( | hythread_t | native_thread, | |
int | index | |||
) |
int compare_threads | ( | jthread * | threads, | |
int | thread_nmb, | |||
int | compare_from_end | |||
) |
int compare_pointer_sets | ( | void ** | set_a, | |
void ** | set_b, | |||
int | nmb | |||
) |
int check_exception | ( | jobject | excn | ) |
void set_phase | ( | tested_thread_sturct_t * | tts, | |
int | phase | |||
) |
void JNICALL default_run_for_test | ( | jvmtiEnv * | jvmti_env, | |
JNIEnv * | jni_env, | |||
void * | arg | |||
) |
jthread new_jobject_thread | ( | JNIEnv * | jni_env | ) |
jobject new_jobject_thread_death | ( | JNIEnv * | jni_env | ) |
jthread new_jobject | ( | ) |
void delete_jobject | ( | jobject | obj | ) |
create_java_vm_func test_get_java_vm_ptr | ( | void | ) |
JavaVM* GLOBAL_VM |
Genereated on Tue Mar 11 19:26:09 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.