diff options
Diffstat (limited to 'src/universe.h')
-rw-r--r-- | src/universe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/universe.h b/src/universe.h index 6a65888..38885cb 100644 --- a/src/universe.h +++ b/src/universe.h | |||
@@ -158,13 +158,13 @@ struct Universe | |||
158 | std::atomic<lua_Integer> next_mt_id{ 1 }; | 158 | std::atomic<lua_Integer> next_mt_id{ 1 }; |
159 | 159 | ||
160 | #if USE_DEBUG_SPEW() | 160 | #if USE_DEBUG_SPEW() |
161 | int debugspew_indent_depth{ 0 }; | 161 | std::atomic<int> debugspew_indent_depth{ 0 }; |
162 | #endif // USE_DEBUG_SPEW() | 162 | #endif // USE_DEBUG_SPEW() |
163 | 163 | ||
164 | Lane* volatile selfdestruct_first{ nullptr }; | 164 | Lane* volatile selfdestruct_first{ nullptr }; |
165 | // After a lane has removed itself from the chain, it still performs some processing. | 165 | // After a lane has removed itself from the chain, it still performs some processing. |
166 | // The terminal desinit sequence should wait for all such processing to terminate before force-killing threads | 166 | // The terminal desinit sequence should wait for all such processing to terminate before force-killing threads |
167 | int volatile selfdestructing_count{ 0 }; | 167 | std::atomic<int> selfdestructing_count{ 0 }; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | // ################################################################################################ | 170 | // ################################################################################################ |