Campbell Barton
|
a91717d2ad
Cleanup: comments (long lines) in atomic
|
5 years ago |
Campbell Barton
|
3fe6eebf20
Cleanup: line wrapping caused by comments
|
5 years ago |
Campbell Barton
|
e12c08e8d1
ClangFormat: apply to source, most of intern
|
5 years ago |
Campbell Barton
|
de13d0a80c
doxygen: add newline after \file
|
6 years ago |
Campbell Barton
|
eef4077f18
Cleanup: remove redundant doxygen \file argument
|
6 years ago |
Campbell Barton
|
4ef09cf937
Cleanup: remove author/date info from doxy headers
|
6 years ago |
Campbell Barton
|
65ec7ec524
Cleanup: remove redundant, invalid info from headers
|
6 years ago |
Bastien Montagne
|
cf6e8edda5
atomic_ops: add `atomic_cas_float` helper.
|
7 years ago |
Bastien Montagne
|
580b34e52b
atomic_ops: add char versions of uint8_t atomic primitives.
|
7 years ago |
Bastien Montagne
|
105b95835f
atomic_ops: add signed versions of primitives.
|
7 years ago |
Bastien Montagne
|
1d8aebaa09
Add an 'atomic cas' wrapper for pointers.
|
7 years ago |
Mai Lavelle
|
2540741dee
Fix implementation of atomic update max and move to a central location
|
7 years ago |
Sergey Sharybin
|
351c9239ed
Cleanup: Use explicit unsigned int in atomics
|
8 years ago |
Sergey Sharybin
|
a284d04093
Atomics: Add some extra utility functions
|
8 years ago |
Sergey Sharybin
|
4ee08e9533
Atomics: Make naming more obvious about which value is being returned
|
8 years ago |
Sergey Sharybin
|
682bcb2995
Atomics: Add 32 bit version of fetch and AND/OR
|
8 years ago |
Bastien Montagne
|
75a96f8325
Atomic ops: add 'fetch_and_add_uint32' op.
|
8 years ago |
Bastien Montagne
|
ba3ae9ea27
Cleanup and refactor our atomic library.
|
8 years ago |
Sergey Sharybin
|
dc5e02c42c
Atomics: Add atomic_fetch_and_or_uint8() function
|
8 years ago |
Sergey Sharybin
|
c1ca667d4a
Fix compilation error on Armel architecture
|
8 years ago |
Sergey Sharybin
|
efefae62de
Atomics: Use _InterlockedAnd8 direction for 342bit MSVC
|
9 years ago |
Bastien Montagne
|
7e9103b49c
atomic_ops: add atomic_fetch_and_and_uint8 wrapper.
|
9 years ago |
Bastien Montagne
|
53d12bbe04
atomic_ops: Fix MSVC versions of add/sub returning original value instead of result of operation.
|
9 years ago |
Bastien Montagne
|
174d5cf627
atomic_ops: fix typo in func names (uint32 instead of uint64).
|
9 years ago |
Sergey Sharybin
|
28b2977be9
Atomic operations: Add function declarations at the top of the header
|
9 years ago |
Sergey Sharybin
|
18d08ede22
Fixes for atomic operations when building with MSVC
|
10 years ago |
Brecht Van Lommel
|
32f83a298c
Fix build errors in atomic ops and warning in aligned malloc on OS X.
|
10 years ago |
Sergey Sharybin
|
37f3843ab0
Atomics: Add CAS (compare-and-swap) functions
|
10 years ago |
Matteo F. Vescovi
|
c3f09c06cb
Fix atomix operations on unofficial 64bit archs
|
10 years ago |
Matteo F. Vescovi
|
4b2c826178
Fix compilation on unofficial 64bit archs
|
11 years ago |