Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid unnecessary macro parameters | Chris Robinson | 2017-04-14 | 1 | -13/+11 |
| | |||||
* | Use separate atomic macros for pointers | Chris Robinson | 2017-04-14 | 1 | -49/+84 |
| | |||||
* | Avoid duplicating code using a macro | Chris Robinson | 2016-12-21 | 1 | -0/+12 |
| | |||||
* | Use separate macros for atomics that don't take a memory order | Chris Robinson | 2016-12-20 | 1 | -45/+50 |
| | |||||
* | Use atomic flags for boolean atomic locks | Chris Robinson | 2016-11-25 | 1 | -8/+44 |
| | |||||
* | Remove the non-atomic COMPARE_EXCHANGE macro | Chris Robinson | 2016-11-22 | 1 | -5/+0 |
| | |||||
* | Improve seqlock behavior | Chris Robinson | 2016-11-21 | 1 | -0/+23 |
| | |||||
* | Add support for 8-byte types on inline assembly ATOMIC_ADD/SUB | Chris Robinson | 2016-11-03 | 1 | -8/+12 |
| | |||||
* | Fix win32 atomic fallbacks | Chris Robinson | 2016-11-03 | 1 | -1/+11 |
| | |||||
* | Remove the explicit type from ATOMIC_ADD and ATOMIC_SUB | Chris Robinson | 2016-11-03 | 1 | -31/+21 |
| | |||||
* | Remove a couple unneeded functions | Chris Robinson | 2016-05-25 | 1 | -17/+0 |
| | |||||
* | Allow optional memory ordering to atomic methods | Chris Robinson | 2014-09-07 | 1 | -42/+81 |
| | | | | | Currently only C11 atomics make use of the memory order. If not specified, it defaults to almemory_order_seq_cst. | ||||
* | Make ExchangeInt and ExchangePtr non-atomic | Chris Robinson | 2014-09-03 | 1 | -41/+23 |
| | |||||
* | Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE | Chris Robinson | 2014-08-03 | 1 | -19/+5 |
| | |||||
* | Use the right type for atomic compare-exchange | Chris Robinson | 2014-08-01 | 1 | -4/+4 |
| | |||||
* | Add some casts for inline assembly atomics | Chris Robinson | 2014-08-01 | 1 | -6/+6 |
| | | | | And remove an unnecessary void cast | ||||
* | Use atomics for the device and context list heads | Chris Robinson | 2014-08-01 | 1 | -12/+12 |
| | |||||
* | Remove an unused function | Chris Robinson | 2014-07-31 | 1 | -8/+0 |
| | |||||
* | Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG | Chris Robinson | 2014-07-31 | 1 | -9/+5 |
| | |||||
* | Avoid a CPU memory fence, and better order memory barriers to accesses | Chris Robinson | 2014-07-31 | 1 | -13/+32 |
| | | | | | | Code produced by GCC 4.9's C11 atomic implementation does not seem to add a CPU memory fence even with memory_order_seq_cst. Unnecessary memory fences will be a detriment to performance, so they should only be added if needed. | ||||
* | Change Windows-based atomics for non-C99 compilers | Chris Robinson | 2014-07-27 | 1 | -17/+43 |
| | |||||
* | Use a full memory barrier for Windows | Chris Robinson | 2014-07-27 | 1 | -2/+2 |
| | |||||
* | Explicitly pass the address of atomics and parameters that can be modified | Chris Robinson | 2014-07-26 | 1 | -54/+54 |
| | |||||
* | Support C11 atomics | Chris Robinson | 2014-07-23 | 1 | -55/+76 |
| | |||||
* | Implement RefCount as a generic atomic type | Chris Robinson | 2014-07-22 | 1 | -152/+108 |
| | |||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 1 | -36/+145 |
| | |||||
* | Add extern "C" to common headers. | Chris Robinson | 2014-05-29 | 1 | -0/+7 |
| | |||||
* | Add methods to exchange and compare-exchange RefCount values | Chris Robinson | 2014-05-27 | 1 | -0/+38 |
| | |||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 1 | -19/+35 |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | ||||
* | Always use unsigned int for RefCount | Chris Robinson | 2014-05-07 | 1 | -18/+22 |
| | |||||
* | Move the static_assert definition to its own header | Chris Robinson | 2014-05-07 | 1 | -0/+2 |
| | |||||
* | Move some headers to include/ | Chris Robinson | 2014-05-06 | 1 | -0/+141 |
Note, these are not installed. Only headers in include/AL/ are installed. |