aboutsummaryrefslogtreecommitdiff
path: root/src/universe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/universe.h')
-rw-r--r--src/universe.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/universe.h b/src/universe.h
index e4c1191..ba00e87 100644
--- a/src/universe.h
+++ b/src/universe.h
@@ -6,6 +6,7 @@
6 6
7#include "lua.h" 7#include "lua.h"
8#include "threading.h" 8#include "threading.h"
9#include "macros_and_utils.h"
9 10
10// forwards 11// forwards
11struct s_DeepPrelude; 12struct s_DeepPrelude;
@@ -20,7 +21,7 @@ typedef struct s_Lane Lane;
20/* 21/*
21* Do we want to activate full lane tracking feature? (EXPERIMENTAL) 22* Do we want to activate full lane tracking feature? (EXPERIMENTAL)
22*/ 23*/
23#define HAVE_LANE_TRACKING 1 24#define HAVE_LANE_TRACKING() 1
24 25
25// ################################################################################################ 26// ################################################################################################
26 27
@@ -68,10 +69,10 @@ struct s_Universe
68 // used for timers (each lane will get a proxy to this) 69 // used for timers (each lane will get a proxy to this)
69 volatile DeepPrelude* timer_deep; // = NULL 70 volatile DeepPrelude* timer_deep; // = NULL
70 71
71#if HAVE_LANE_TRACKING 72#if HAVE_LANE_TRACKING()
72 MUTEX_T tracking_cs; 73 MUTEX_T tracking_cs;
73 Lane* volatile tracking_first; // will change to TRACKING_END if we want to activate tracking 74 Lane* volatile tracking_first; // will change to TRACKING_END if we want to activate tracking
74#endif // HAVE_LANE_TRACKING 75#endif // HAVE_LANE_TRACKING()
75 76
76 MUTEX_T selfdestruct_cs; 77 MUTEX_T selfdestruct_cs;
77 78
@@ -84,9 +85,9 @@ struct s_Universe
84 85
85 lua_Integer last_mt_id; 86 lua_Integer last_mt_id;
86 87
87#if USE_DEBUG_SPEW 88#if USE_DEBUG_SPEW()
88 int debugspew_indent_depth; 89 int debugspew_indent_depth;
89#endif // USE_DEBUG_SPEW 90#endif // USE_DEBUG_SPEW()
90 91
91 Lane* volatile selfdestruct_first; 92 Lane* volatile selfdestruct_first;
92 // After a lane has removed itself from the chain, it still performs some processing. 93 // After a lane has removed itself from the chain, it still performs some processing.