* src/threads/threads-common.c (threads_thread_get_state): Fixed
[cacao.git] / src / threads / lock-common.h
index b4177c02fcaec9314b4d523c154937a71b1cfe7b..75d8687a11ba0b24cd93115f1f79fc7628017bb1 100644 (file)
 
 #include "vm/global.h"
 
+/* ATTENTION: Don't include a threads header here, as it could include
+   java_lang_Thread.h and thus break the build (means, it recompiles
+   every time)!  Take care of that... */
+
 #if defined(ENABLE_THREADS)
 # include "threads/native/lock.h"
 #else
 # include "threads/none/lock.h"
 #endif
 
-#include "threads/threads-common.h"
-
 
 /* only define the following stuff with thread enabled ************************/
 
@@ -52,9 +54,6 @@
 
 void lock_init(void);
 
-void lock_init_execution_env(struct threadobject *thread);
-void lock_record_free_pools(lock_record_pool_t *pool);
-
 void lock_init_object_lock(java_objectheader *);
 lock_record_t *lock_get_initial_lock_word(void);