| ... | @@ -1,13 +1,14 @@ | ... | @@ -1,13 +1,14 @@ |
| 1 | //! This struct represents a kernel thread, and acts as a namespace for concurrency | 1 | //! This struct represents a kernel thread, and acts as a namespace for |
| 2 | //! primitives that operate on kernel threads. For concurrency primitives that support | 2 | //! concurrency primitives that operate on kernel threads. For concurrency |
| 3 | //! both evented I/O and async I/O, see the respective names in the top level std namespace. | 3 | //! primitives that interact with the I/O interface, see `std.Io`. |
| 4 | | 4 | |
| 5 | const std = @import("std.zig"); | | |
| 6 | const builtin = @import("builtin"); | 5 | const builtin = @import("builtin"); |
| 7 | const math = std.math; | | |
| 8 | const assert = std.debug.assert; | | |
| 9 | const target = builtin.target; | 6 | const target = builtin.target; |
| 10 | const native_os = builtin.os.tag; | 7 | const native_os = builtin.os.tag; |
| | 8 | |
| | 9 | const std = @import("std.zig"); |
| | 10 | const math = std.math; |
| | 11 | const assert = std.debug.assert; |
| 11 | const posix = std.posix; | 12 | const posix = std.posix; |
| 12 | const windows = std.os.windows; | 13 | const windows = std.os.windows; |
| 13 | const testing = std.testing; | 14 | const testing = std.testing; |