disable atomic stack and queue tests for non-linux
This commit is contained in:
parent
5d6e44b3f2
commit
a10351b439
@ -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();
|
||||
|
||||
|
@ -60,6 +60,10 @@ const puts_per_thread = 1000;
|
||||
const put_thread_count = 3;
|
||||
|
||||
test "std.atomic.stack" {
|
||||
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user