diff options
| author | protty <45520026+kprotty@users.noreply.github.com> | 2021-05-31 11:11:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-31 11:11:30 -0500 |
| commit | eb6975f0889db4c2c29d47bb959bc39bd0a9b167 (patch) | |
| tree | 688143d7828e2717ed2246c9a2482d8f22433976 /lib/std/multi_array_list.zig | |
| parent | 57cf9f7ea6d018714cf4afa711799c67ff730f12 (diff) | |
| download | zig-eb6975f0889db4c2c29d47bb959bc39bd0a9b167.tar.gz zig-eb6975f0889db4c2c29d47bb959bc39bd0a9b167.zip | |
std.sync.atomic: extended atomic helper functions (#8866)
- deprecates `std.Thread.spinLoopHint` and moves it to `std.atomic.spinLoopHint`
- added an Atomic(T) generic wrapper type which replaces atomic.Bool and atomic.Int
- in Atomic(T), selectively expose member functions depending on T and include bitwise atomic methods when T is an Integer
- added fence() and compilerFence() to std.atomic
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions
