commit 7096e66ca9b7b1e4dc7d6d5d5bf1e6833f1be039 (tree) parent eb038ffbc1fb2eb936439127df8acf9b9dc080d0 Author: Andrew Kelley <andrew@ziglang.org> Date: Fri, 21 Nov 2025 16:42:01 -0800 std.Thread: update doc comments Diffstat:
| M | lib/std/Thread.zig | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig @@ -1,13 +1,14 @@ -//! This struct represents a kernel thread, and acts as a namespace for concurrency -//! primitives that operate on kernel threads. For concurrency primitives that support -//! both evented I/O and async I/O, see the respective names in the top level std namespace. +//! This struct represents a kernel thread, and acts as a namespace for +//! concurrency primitives that operate on kernel threads. For concurrency +//! primitives that interact with the I/O interface, see `std.Io`. -const std = @import("std.zig"); const builtin = @import("builtin"); -const math = std.math; -const assert = std.debug.assert; const target = builtin.target; const native_os = builtin.os.tag; + +const std = @import("std.zig"); +const math = std.math; +const assert = std.debug.assert; const posix = std.posix; const windows = std.os.windows; const testing = std.testing;