Merged revisions 7797-7917 via svnmerge from
[cacao.git] / src / native / vm / java_lang_Thread.c
index aeba0e8ec163f9b1fe3957c69d4d33a941b28c62..b13766677071e14210c201dd3f5b2217531ac86b 100644 (file)
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: java_lang_VMThread.c 6213 2006-12-18 17:36:06Z twisti $
+   $Id: java_lang_Thread.c 7833 2007-04-26 13:07:05Z twisti $
 
 */
 
@@ -43,6 +43,7 @@
 # include "native/include/java_lang_VMThread.h"
 #endif
 
+#include "threads/lock-common.h"
 #include "threads/threads-common.h"
 
 #include "toolbox/logging.h"
@@ -88,7 +89,7 @@ void _Jv_java_lang_Thread_sleep(s8 millis)
 void _Jv_java_lang_Thread_start(java_lang_Thread *this, s8 stacksize)
 {
 #if defined(ENABLE_THREADS)
-       threads_start_javathread(this);
+       threads_thread_start(this);
 #endif
 }