aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/Thread.zig')
-rw-r--r--lib/std/Thread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
index f25c664000..1900225099 100644
--- a/lib/std/Thread.zig
+++ b/lib/std/Thread.zig
@@ -322,7 +322,7 @@ pub fn getName(self: Thread, buffer_ptr: *[max_name_len:0]u8) GetNameError!?[]co
var buf: [32]u8 = undefined;
const path = try std.fmt.bufPrint(&buf, "/proc/self/task/{d}/comm", .{self.getHandle()});
- const io = Io.Threaded.global_single_threaded.ioBasic();
+ const io = std.options.debug_io;
const file = try Io.Dir.cwd().openFile(io, path, .{});
defer file.close(io);