diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-09 18:03:08 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-09 18:03:08 +0300 |
commit | ba3ae9ea273f7e596607281ffd77871e5a44fca7 (patch) | |
tree | 64769eae9c8318432fe071358dcfcbc769faca12 /build_files | |
parent | 299a25cb351d371dc6112f52e843f0a413269a3a (diff) |
Cleanup and refactor our atomic library.
This commit:
* Removes most of all dirty internal details from public atomi_ops.h file, and move them into /intern private subdir.
* Removes unused 'architectures' (__apple__ and jemalloc).
* Split each implementation into its own file.
* Makes use of C99's limits.h system header to determine pointer and int size, instead of using fix hardcoded list of architectures.
* Introduces new 'faked' atomics ops for floats.
Note that we may add a lot more real and 'faked' atomic operations over integers and floats
(multiplication, division, bitshift, bitwise booleans, etc.), as needs arise.
Reviewers: sergey, campbellbarton
Differential Revision: https://developer.blender.org/D1982
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions