* src/threads/threads-common.h (native/jni.h): Added.
[cacao.git] / src / threads / threads-common.h
index a46ef065c0c112ffea5e36aecb282b639f23437b..a605f28042ddafdda56dd67e9f8128580fea8f61 100644 (file)
 #include "config.h"
 #include "vm/types.h"
 
+#include "vm/global.h"
+
+#include "native/jni.h"
+
+#include "native/include/java_lang_Thread.h"
+
 #if defined(ENABLE_THREADS)
 # include "threads/native/threads.h"
 #else
 /* function prototypes ********************************************************/
 
 threadobject *threads_create_thread(utf *name);
+void          threads_start_javathread(java_lang_Thread *object);
 ptrint        threads_get_current_tid(void);
 utf          *threads_thread_get_state(threadobject *thread);
 bool          threads_thread_is_alive(threadobject *thread);
 void          threads_dump(void);
-void          threads_print_stacktrace(threadobject *thread);
+void          threads_thread_print_stacktrace(threadobject *thread);
+void          threads_print_stacktrace(void);
 
 #endif /* _THREADS_COMMON_H */