Threads are now garbage collected correctly (hopefully).
[cacao.git] / threads / thread.h
index 1d37f613deec23825d350fbd97de7fe1a7145172..5a8f1359a76996ec49d06d47de6f134a101f6ad0 100644 (file)
@@ -1,3 +1,4 @@
+/* -*- mode: c; tab-width: 4; c-basic-offset: 4 -*- */
 /*
  * thread.h
  * Thread support.
@@ -41,7 +42,8 @@ struct _thread;
 
 typedef struct _ctx
 {
-    bool               free;           /* schani */
+    struct _thread    *thread;
+    bool               free;
     u1                 status;
     u1                 priority;
     u1*                restorePoint;