aboutsummaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Add a check for pthread_setname_np with three parametersChris Robinson2017-09-151-0/+2
| | | | As found in NetBSD.
* I guess -1 isn't allowed for the outputChris Robinson2017-08-301-4/+4
|
* Free the args returned by CommandLineToArgvWChris Robinson2017-08-301-0/+2
|
* Avoid using wmain on WindowsChris Robinson2017-08-301-48/+45
|
* Include limits.h where INT_MAX is usedChris Robinson2017-08-301-0/+2
|
* Use a common header for Unicode-awareness on WindowsChris Robinson2017-08-271-0/+92
|
* Add casts to silence MSVCChris Robinson2017-06-291-2/+2
|
* Define a backup log2f if the compiler doesn't have itChris Robinson2017-06-291-0/+7
|
* Workaround for MSVC not liking 1.0f/0.0f for float infinityChris Robinson2017-06-291-1/+5
|
* Use more correct doppler shift calculationsChris Robinson2017-05-201-2/+7
|
* Allow increasing the maximum source limitChris Robinson2017-04-142-3/+9
| | | | | | | | If the requested number of mono and stereo sources exceeds 256, the source limit will be expanded. Any config file setting overrides this. If the device is reset to have fewer sources than are currently allocated, excess sources will remain and be usable as normal, but no more can be generated until enough are delated to go back below the limit.
* Move internal headers out of the include directoryChris Robinson2017-04-149-0/+839
|
* Use an array of pointers for effects instead of a linked listChris Robinson2017-03-271-0/+75
|
* 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.