mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 22:34:28 +00:00
the lock-free data structures all had ABA problems and std.atomic.Stack had a possibility to load an unmapped memory address.
9 lines
243 B
Zig
9 lines
243 B
Zig
pub const Stack = @import("stack.zig").Stack;
|
|
pub const Queue = @import("queue.zig").Queue;
|
|
pub const Int = @import("int.zig").Int;
|
|
|
|
test "std.atomic" {
|
|
_ = @import("stack.zig");
|
|
_ = @import("queue.zig");
|
|
_ = @import("int.zig");
|
|
}
|