From a715c0c693801013e99801c92f7500d2fcb97229 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 19 Nov 2023 18:33:54 -0800 Subject: [PATCH] started should be threadlocal --- src/mod.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod.zig b/src/mod.zig index caf04021028d20e81107d0cd424beeec12622833..6393c726b8196551d4e2c55ae87bf0453c61e652 100644 --- a/src/mod.zig +++ b/src/mod.zig @@ -2,7 +2,7 @@ const std = @import("std"); const root = @import("root"); const impl = std.meta.globalOption("tracer_impl", type) orelse none; -var started = false; +threadlocal var started = false; pub const none = @import("./none.zig"); pub const log = @import("./log.zig"); -- 2.54.0