aboutsummaryrefslogtreecommitdiff
path: root/std/atomic/queue.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/atomic/queue.zig')
-rw-r--r--std/atomic/queue.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/std/atomic/queue.zig b/std/atomic/queue.zig
index c7ce00d6cf..3866bad7ce 100644
--- a/std/atomic/queue.zig
+++ b/std/atomic/queue.zig
@@ -53,6 +53,10 @@ const puts_per_thread = 10000;
const put_thread_count = 3;
test "std.atomic.queue" {
+ if (builtin.os != builtin.Os.linux) {
+ // TODO implement kernel threads for windows and macos
+ return;
+ }
var direct_allocator = std.heap.DirectAllocator.init();
defer direct_allocator.deinit();