Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AtomicOrLocked: don't rely on std::is_trivially_copyable
It doesn't restrict data size which, however, matters for atomicness. E.g. long[7777777] is trivially copyable, but surely not lock-free, i.e. not worth using std::atomic.
- Loading branch information