* src/threads/lockword.cpp: New file.
[cacao.git] / src / threads / thread.cpp
index 46abc784b06d02c3c74a2798213ec88f9c31e111..b688616dacc191272e8198c6b06114de0f724fb2 100644 (file)
@@ -40,9 +40,9 @@
 #endif
 
 #include "native/llni.h"
-#include "native/native.h"
+#include "native/native.hpp"
 
-#include "threads/lock-common.h"
+#include "threads/lock.hpp"
 #include "threads/threadlist.hpp"
 #include "threads/thread.hpp"
 
@@ -508,7 +508,7 @@ static threadobject *thread_new(void)
        assert(index != 0);
 
        t->index     = index;
-       t->thinlock  = lock_pre_compute_thinlock(t->index);
+       t->thinlock  = Lockword::pre_compute_thinlock(t->index);
        t->flags     = 0;
        t->state     = THREAD_STATE_NEW;