Release v0.3.1
Pre-release
Pre-release
[0.3.1] [Patch] - 2021-12-16
Added
wrapped
macro implementations of all ops:fetch.h
wrapsfetch_op
to defineop
direct.h
wraps an atomic operation to define that same operationcmpxchg.h
wrapscmpxchg_weak_explicit
to define any other operation
Changed
- renamed
types/intptr.h
tostdlib/stdint.h
std
implementation now useswrapped
macros instead of defining whole
functions directly
Fixed
std
implementation now also usesATOMIC_LLONG_IS_LOCK_FREE
in the create
functions to make sure the corresponding functions are definedstd
implementation no longer assumessizeof(T)
will return a power of 2