| author | |
| committer | |
| log | a10351b439769c57454e19915365b21e43f408bc |
| tree | c7ce658b5ed919a44b9032e8412d33b01e77a9ae |
| parent | 5d6e44b3f2bf37deaf09ce4a473fa5b52a6fb760 |
2 files changed, 8 insertions(+), 0 deletions(-)
std/atomic/queue.zig+4| ... | ... | @@ -53,6 +53,10 @@ const puts_per_thread = 10000; |
| 53 | 53 | const put_thread_count = 3; |
| 54 | 54 | |
| 55 | 55 | test "std.atomic.queue" { |
| 56 | if (builtin.os != builtin.Os.linux) { | |
| 57 | // TODO implement kernel threads for windows and macos | |
| 58 | return; | |
| 59 | } | |
| 56 | 60 | var direct_allocator = std.heap.DirectAllocator.init(); |
| 57 | 61 | defer direct_allocator.deinit(); |
| 58 | 62 |
std/atomic/stack.zig+4| ... | ... | @@ -60,6 +60,10 @@ const puts_per_thread = 1000; |
| 60 | 60 | const put_thread_count = 3; |
| 61 | 61 | |
| 62 | 62 | test "std.atomic.stack" { |
| 63 | if (builtin.os != builtin.Os.linux) { | |
| 64 | // TODO implement kernel threads for windows and macos | |
| 65 | return; | |
| 66 | } | |
| 63 | 67 | var direct_allocator = std.heap.DirectAllocator.init(); |
| 64 | 68 | defer direct_allocator.deinit(); |
| 65 | 69 |