zig/std/atomic
Andrew Kelley dfbc063f79
std.mem.Allocator.create replaced with better API
`std.mem.Allocator.createOne` is renamed to `std.mem.Allocator.create`.

The problem with the previous API is that even after copy elision,
the initalization value passed as a parameter would always be a copy.
With the new API, once copy elision is done, initialization
functions can directly initialize allocated memory in place.

Related:
 * #1872
 * #1873
2019-02-03 16:13:28 -05:00
..
index.zig std.atomic: use spinlocks 2018-07-11 19:38:01 -04:00
int.zig atomic.Int.set 2018-11-18 19:43:13 -05:00
queue.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00
stack.zig std.mem.Allocator.create replaced with better API 2019-02-03 16:13:28 -05:00