enable atomic queue and stack tests for macos
parent
a425420993
commit
abf90eaa67
|
@ -53,8 +53,8 @@ const puts_per_thread = 10000;
|
||||||
const put_thread_count = 3;
|
const put_thread_count = 3;
|
||||||
|
|
||||||
test "std.atomic.queue" {
|
test "std.atomic.queue" {
|
||||||
if (builtin.os != builtin.Os.linux) {
|
if (builtin.os == builtin.Os.windows) {
|
||||||
// TODO implement kernel threads for windows and macos
|
// TODO implement kernel threads for windows
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var direct_allocator = std.heap.DirectAllocator.init();
|
var direct_allocator = std.heap.DirectAllocator.init();
|
||||||
|
|
|
@ -60,8 +60,8 @@ const puts_per_thread = 1000;
|
||||||
const put_thread_count = 3;
|
const put_thread_count = 3;
|
||||||
|
|
||||||
test "std.atomic.stack" {
|
test "std.atomic.stack" {
|
||||||
if (builtin.os != builtin.Os.linux) {
|
if (builtin.os == builtin.Os.windows) {
|
||||||
// TODO implement kernel threads for windows and macos
|
// TODO implement kernel threads for windows
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var direct_allocator = std.heap.DirectAllocator.init();
|
var direct_allocator = std.heap.DirectAllocator.init();
|
||||||
|
|
Loading…
Reference in New Issue