#include "thread.h"
Include dependency graph for thread.c:

Go to the source code of this file.
| Functions | |
| void | cbThreadRun (JNIEnv *env, jobject jobj, jlong ptr) | 
| Thread run callback function. | |
| void | createThread_ (Thread *thread, void(*func)()) | 
| Creates the Thread by getting the Java Thread-Class, the method ids and createing a new Java Thread-Object. | |
| void | createThreadC (Thread_ *thread, void(*func)()) | 
| Function is called when working with C and calling the function createThread. | |
| void | createThreadCPP (ThreadCPP_ *thread, void(*func)()) | 
| Function is called when working with C++ and calling the function createThread. | |
| void | deleteThread_ (Thread *thread) | 
| Deletes the Thread by deleting the global references. | |
| void | deleteThreadC (Thread_ *thread) | 
| Function is called when working with C and calling the function deleteThread. | |
| void | deleteThreadCPP (ThreadCPP_ *thread) | 
| Function is called when working with C++ and calling the function deleteThread. | |
| jobject | getThreadObject (Thread *thread) | 
| Gets the reference to the java thread object. | |
| jint | getThreadPriority (Thread *thread) | 
| Gets the priority of the Thread. | |
| void | initThread_ (Thread_ *thread) | 
| Initializes the Thread_ structure by setting the function pointers. | |
| void | setThreadPriority (Thread *thread, jint priority) | 
| Sets the priority of the Thread. | |
| void | sleepThread (Thread *thread, jlong milliseconds) | 
| Stops the current thread for the specified milliseconds. | |
| void | startThread (Thread *thread) | 
| Starts the Thread. | |
| void | yieldThread (Thread *thread) | 
| Causes the currently executing thread object to temporarily pause. | |
A thread is a thread of execution in a program.
Definition in file thread.c.
| 
 | ||||||||||||||||
| Thread run callback function. Called from a Java JNIThread Object. The function calls the function of the pointer. 
 
 | 
| 
 | ||||||||||||
| Creates the Thread by getting the Java Thread-Class, the method ids and createing a new Java Thread-Object. 
 
 | 
| 
 | ||||||||||||
| Function is called when working with C and calling the function createThread. It initializes the Thread_ structure. 
 
 | 
| 
 | ||||||||||||
| Function is called when working with C++ and calling the function createThread. It initializes the ThreadCPP_ structure. 
 
 | 
| 
 | 
| Deletes the Thread by deleting the global references. 
 
 | 
| 
 | 
| Function is called when working with C and calling the function deleteThread. 
 
 | 
| 
 | 
| Function is called when working with C++ and calling the function deleteThread. 
 
 | 
| 
 | 
| Gets the reference to the java thread object. 
 
 
 | 
| 
 | 
| Gets the priority of the Thread. 
 
 
 | 
| 
 | 
| Initializes the Thread_ structure by setting the function pointers. 
 
 | 
| 
 | ||||||||||||
| Sets the priority of the Thread. 
 
 
 | 
| 
 | ||||||||||||
| Stops the current thread for the specified milliseconds. 
 
 | 
| 
 | 
| Starts the Thread. 
 
 | 
| 
 | 
| Causes the currently executing thread object to temporarily pause. This will allow other threads to execute. 
 
 | 
 1.4.4
 1.4.4