Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |