diff options
author | Carl Worth <[email protected]> | 2015-02-05 15:36:59 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2015-02-09 10:47:44 -0800 |
commit | b16de0b713fb4d5d1c5600d126e4ce945fc27303 (patch) | |
tree | 5515a59772d2fe67ed7a5d1883619c59a2e06071 /include/GL/wglext.h | |
parent | 345e8cc8496b4e6c56105c7396e80d85a37e122c (diff) |
util/u_atomic: Add new macro p_atomic_add
This provides for atomic addition, which will be used by an upcoming
shader-cache patch. A simple test is added to "make check" as well.
Note: The various O/S functions differ on whether they return the
original value or the value after the addition, so I did not provide
an add_return() macro which would be sensitive to that difference.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Aaron Watry <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'include/GL/wglext.h')
0 files changed, 0 insertions, 0 deletions