- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the lock-free data structures all had ABA problems and std.atomic.Stack had a possibility to load an unmapped memory address.
Showing
11 changed files
with
110 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
pub const Stack = @import("stack.zig").Stack; | ||
pub const QueueMpsc = @import("queue_mpsc.zig").QueueMpsc; | ||
pub const QueueMpmc = @import("queue_mpmc.zig").QueueMpmc; | ||
pub const Queue = @import("queue.zig").Queue; | ||
pub const Int = @import("int.zig").Int; | ||
|
||
test "std.atomic" { | ||
_ = @import("stack.zig"); | ||
_ = @import("queue_mpsc.zig"); | ||
_ = @import("queue_mpmc.zig"); | ||
_ = @import("queue.zig"); | ||
_ = @import("int.zig"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.