0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/atomic
Andrew Kelley 6bd97ab640 std: remove atomic.Stack
This was originally supposed to be a lock-free stack, but I gave up on
that and made it be a thread-safe stack which is implemented poorly
using spin locks. Nobody should use this data structure.

The alternative is a normal stack protected by a mutex.
History 2023-11-22 16:38:26 -07:00
..
Atomic.zig std.atomic: remove some APIs 2023-11-22 14:27:49 -07:00
queue.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00