aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Update binary search algorithm for uintmapsChris Robinson2017-01-121-68/+79
|
* Use atomic flags for boolean atomic locksChris Robinson2016-11-251-5/+5
|
* Avoid some unnecessary seq_cst memory orderingChris Robinson2016-11-221-6/+8
|
* Try increasing the stack size if thread creation failsChris Robinson2016-09-081-7/+25
| | | | Also increase the default stack size to 2MB.
* Fix a direct access to a UIntMapChris Robinson2016-07-091-2/+2
|
* Use separate arrays for UIntMap keys and valuesChris Robinson2016-07-041-40/+69
|
* Use al_malloc/al_free for the UIntMap arrayChris Robinson2016-07-041-8/+16
|
* Don't try to emulate almtx_timedlockChris Robinson2016-05-301-43/+12
|
* Remove a couple unneeded functionsChris Robinson2016-05-251-3/+0
|
* Hold the source map lock while handling itChris Robinson2016-05-101-0/+47
|
* Move the aligned malloc functions to the common libChris Robinson2016-03-291-0/+62
|
* Avoid underflow in alcnd_timedwait if the time point is already passedChris Robinson2016-02-071-6/+22
|
* Replace some CreateEvent calls with CreateEventWChris Robinson2016-02-071-2/+2
|
* Explicit check if pthread_setname_np accepts only one parameterChris Robinson2016-01-211-2/+2
|
* Add missing closing parenthesisChris Robinson2015-12-111-1/+1
|
* Use Apple's pthread_setname_np before GNU'sChris Robinson2015-12-111-3/+3
|
* Only pass nano seconds to al_nssleepChris Robinson2014-09-081-3/+3
|
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFEChris Robinson2014-08-031-3/+3
|
* Use atomics for the device and context list headsChris Robinson2014-08-011-1/+0
|
* Remove an unused functionChris Robinson2014-07-311-1/+0
|
* Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONGChris Robinson2014-07-311-2/+0
|
* 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
|
* Implement RefCount as a generic atomic typeChris Robinson2014-07-221-6/+7
|
* Add methods to exchange and compare-exchange RefCount valuesChris Robinson2014-05-271-0/+2
|
* Avoid unnecessary local variablesChris Robinson2014-05-271-6/+6
|
* Implement condition variables for WindowsChris Robinson2014-05-271-0/+158
|
* Implement condition variables (POSIX only!)Chris Robinson2014-05-261-4/+44
| | | | | Windows requires Vista or newer to get the CONDITION_VARIABNLE API, but we currently only require XP.
* Make RefCount a non-integer typeChris Robinson2014-05-142-4/+6
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-072-0/+206
| | | | This should make the code in common completely self-reliant.
* Make sure FILETIME and ULARGE_INTEGER sizes matchChris Robinson2014-05-071-0/+2
|
* Move atomic method definitions to a separate common sourceChris Robinson2014-05-061-0/+12
|
* Move threads.c to a separate source dirChris Robinson2014-05-061-0/+544
This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc.