aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu/PerThread.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-08-17 12:05:12 +0100
committerJacob Young <jacobly0@users.noreply.github.com>2024-08-17 18:50:10 -0400
commit9e6318a4ea042e3fab7a1b2347600cde3d804e1a (patch)
treecfcc1d1a770ae4b8de4e381710ac6ec4e4fcd502 /src/Zcu/PerThread.zig
parent7f2466e65fe0b7411792ce3d3f186893ed22379d (diff)
downloadzig-9e6318a4ea042e3fab7a1b2347600cde3d804e1a.tar.gz
zig-9e6318a4ea042e3fab7a1b2347600cde3d804e1a.zip
compiler: add some doc comments
Diffstat (limited to 'src/Zcu/PerThread.zig')
-rw-r--r--src/Zcu/PerThread.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig
index b2f6d600e6..700d8708b1 100644
--- a/src/Zcu/PerThread.zig
+++ b/src/Zcu/PerThread.zig
@@ -1,3 +1,6 @@
+//! This type provides a wrapper around a `*Zcu` for uses which require a thread `Id`.
+//! Any operation which mutates `InternPool` state lives here rather than on `Zcu`.
+
zcu: *Zcu,
/// Dense, per-thread unique index.