aboutsummaryrefslogtreecommitdiff
path: root/src/universe.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/universe.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/universe.h b/src/universe.h
index 3adba4d..8244980 100644
--- a/src/universe.h
+++ b/src/universe.h
@@ -10,6 +10,7 @@ extern "C"
10#endif // __cplusplus 10#endif // __cplusplus
11 11
12#include "macros_and_utils.h" 12#include "macros_and_utils.h"
13#include "tracker.h"
13#include "uniquekey.h" 14#include "uniquekey.h"
14 15
15#include <mutex> 16#include <mutex>
@@ -22,9 +23,6 @@ struct DeepPrelude;
22struct Keepers; 23struct Keepers;
23class Lane; 24class Lane;
24 25
25// Do we want to activate full lane tracking feature?
26#define HAVE_LANE_TRACKING() 1
27
28// ################################################################################################# 26// #################################################################################################
29 27
30// everything we need to provide to lua_newstate() 28// everything we need to provide to lua_newstate()
@@ -158,8 +156,7 @@ class Universe
158 DeepPrelude* timerLinda{ nullptr }; 156 DeepPrelude* timerLinda{ nullptr };
159 157
160#if HAVE_LANE_TRACKING() 158#if HAVE_LANE_TRACKING()
161 std::mutex trackingMutex; 159 LaneTracker tracker;
162 Lane* volatile trackingFirst{ nullptr }; // will change to TRACKING_END if we want to activate tracking
163#endif // HAVE_LANE_TRACKING() 160#endif // HAVE_LANE_TRACKING()
164 161
165 // Protects modifying the selfdestruct chain 162 // Protects modifying the selfdestruct chain