diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-08-25 12:38:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-08-26 15:36:59 +0300 |
commit | 1bb2077250aed65e9445468161e01aa219a89624 (patch) | |
tree | f8cb4cfcf8a428f9683ed7acf50f1d3721acb1e3 /source/blender/blenkernel/intern/modifier.c | |
parent | 2419ffa183702044ff7e8b78fad8862ca313f12d (diff) |
Add locking fallback atomics implementation
Is used for platforms for which we do not have native implementation,
such as MIPS, for example.
It is possible to test locking implementation on local computer by
defining `ATOMIC_FORCE_USE_FALLBACK` in the atomic_ops_unix.h file.
Run full regression suit with the locking implementation on amd64
Linux platform and all tests passed.
Having non-optimal but working implementation for odd-ball platforms
seems to be a better choice than failing the build entirely.
Differential Revision: https://developer.blender.org/D12313
Diffstat (limited to 'source/blender/blenkernel/intern/modifier.c')
0 files changed, 0 insertions, 0 deletions