From d5f72d10f787fb578fb4ff52115fc6f427f8750e Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Thu, 1 Sep 2022 21:39:20 -0500 Subject: [PATCH] temp_allocator should have been thread_local --- core/alloc.onyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/alloc.onyx b/core/alloc.onyx index 3d4d1313..b55c0d04 100644 --- a/core/alloc.onyx +++ b/core/alloc.onyx @@ -33,6 +33,8 @@ heap_allocator : Allocator; // The global temp allocator, set up upon program intialization. #local #thread_local temp_state : arena.ArenaState; + +#thread_local temp_allocator : Allocator; init_temp_allocator :: () { -- 2.25.1