* configure.ac: Define automake conditinal ENABLE_TLH if SSA enabled.
[cacao.git] / src / threads / posix / thread-posix.h
index 87df756dde8760b893f5e97567776c5a4582c867..069d0f5daa9b82eabc56b92bd536bd212c7f11da 100644 (file)
@@ -40,6 +40,10 @@ typedef struct threadobject threadobject;
 
 #include "mm/memory.h"
 
+#if defined(ENABLE_TLH)
+#include "mm/tlh.h"
+#endif
+
 #include "native/localref.h"
 
 #include "threads/mutex.h"
@@ -73,6 +77,7 @@ typedef struct {
 #endif
 
 
+
 /* current threadobject *******************************************************/
 
 #if defined(HAVE___THREAD)
@@ -172,9 +177,7 @@ struct threadobject {
 #endif
 
 #if defined(ENABLE_TLH)
-       uint8_t              *tlhstart;
-       uint8_t              *tlhtop;
-       uint8_t              *tlhbase;
+       tlh_t                 tlh;
 #endif
 
        listnode_t            linkage;      /* threads-list                       */