aboutsummaryrefslogtreecommitdiff
path: root/lib/std/atomic/queue.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/atomic/queue.zig')
-rw-r--r--lib/std/atomic/queue.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/atomic/queue.zig b/lib/std/atomic/queue.zig
index fa3711cd9f..f5f63944ab 100644
--- a/lib/std/atomic/queue.zig
+++ b/lib/std/atomic/queue.zig
@@ -16,7 +16,7 @@ pub fn Queue(comptime T: type) type {
return struct {
head: ?*Node,
tail: ?*Node,
- mutex: std.Mutex,
+ mutex: std.Thread.Mutex,
pub const Self = @This();
pub const Node = std.TailQueue(T).Node;
@@ -27,7 +27,7 @@ pub fn Queue(comptime T: type) type {
return Self{
.head = null,
.tail = null,
- .mutex = std.Mutex{},
+ .mutex = std.Thread.Mutex{},
};
}