aboutsummaryrefslogtreecommitdiffstats
path: root/common/rwlock.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert threads.c to C++Chris Robinson2018-11-171-59/+0
| | | | Also vastly simplify and remove related code.
* Avoid using ATOMIC_FLAGChris Robinson2018-11-131-5/+5
| | | | | Although it cant potentially be better than a regular atomic, it presents compatibility issues when non-C11 atomics are mixed with C++
* Use atomic flags for boolean atomic locksChris Robinson2016-11-251-5/+5
|
* Avoid some unnecessary seq_cst memory orderingChris Robinson2016-11-221-6/+8
|
* Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFEChris Robinson2014-08-031-3/+3
|
* Explicitly pass the address of atomics and parameters that can be modifiedChris Robinson2014-07-261-5/+5
|
* Use generic atomics in more placesChris Robinson2014-07-221-23/+18
|
* Make RefCount a non-integer typeChris Robinson2014-05-141-2/+2
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-071-0/+62
This should make the code in common completely self-reliant.