diff options
Diffstat (limited to '')
-rw-r--r-- | src/universe.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/universe.hpp b/src/universe.hpp index 18e125f..a45ce86 100644 --- a/src/universe.hpp +++ b/src/universe.hpp | |||
@@ -113,7 +113,8 @@ class Universe | |||
113 | std::atomic<int> debugspewIndentDepth{ 0 }; | 113 | std::atomic<int> debugspewIndentDepth{ 0 }; |
114 | #endif // USE_DEBUG_SPEW() | 114 | #endif // USE_DEBUG_SPEW() |
115 | 115 | ||
116 | Lane* volatile selfdestructFirst{ nullptr }; | 116 | // access is protected by selfDestructMutex |
117 | Lane* selfdestructFirst{ nullptr }; | ||
117 | // After a lane has removed itself from the chain, it still performs some processing. | 118 | // After a lane has removed itself from the chain, it still performs some processing. |
118 | // The terminal desinit sequence should wait for all such processing to terminate before force-killing threads | 119 | // The terminal desinit sequence should wait for all such processing to terminate before force-killing threads |
119 | std::atomic<int> selfdestructingCount{ 0 }; | 120 | std::atomic<int> selfdestructingCount{ 0 }; |