Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert threads.c to C++ | Chris Robinson | 2018-11-17 | 1 | -448/+0 |
| | | | | Also vastly simplify and remove related code. | ||||
* | Remove some more unused stuff | Chris Robinson | 2018-11-17 | 1 | -15/+3 |
| | |||||
* | Remove unneeded declarations and definitions | Chris Robinson | 2018-11-17 | 1 | -5/+0 |
| | |||||
* | Remove unused altss types and methods | Chris Robinson | 2018-11-16 | 1 | -62/+0 |
| | |||||
* | Remove the unused condition variable APIs | Chris Robinson | 2018-11-10 | 1 | -152/+0 |
| | |||||
* | Move altimespec_get and al_nssleep to examples' common code | Chris Robinson | 2018-11-10 | 1 | -72/+0 |
| | |||||
* | Use GCD semaphore on macOS | alexey.lysiuk | 2018-10-15 | 1 | -0/+35 |
| | | | Unnamed POSIX semaphore doesn't work on macOS | ||||
* | Clear the TLS pointer after running its destructor callback | Chris Robinson | 2018-06-06 | 1 | -1/+5 |
| | |||||
* | Add methods to clean up althrd and altss data | Chris Robinson | 2018-03-10 | 1 | -58/+39 |
| | |||||
* | Clear stale 'post's on the event semphaphore | Chris Robinson | 2018-02-11 | 1 | -0/+16 |
| | |||||
* | Remove unused _timed methods | Chris Robinson | 2018-02-01 | 1 | -119/+0 |
| | | | | | They're not reliably implemented anyway, as some systems will just flat out fail when trying to use them. | ||||
* | Avoid an unnecessary temp variable | Chris Robinson | 2018-02-01 | 1 | -8/+6 |
| | |||||
* | Add semaphore functions to the thread API wrapper | Chris Robinson | 2018-02-01 | 1 | -0/+87 |
| | |||||
* | Add a check for pthread_setname_np with three parameters | Chris Robinson | 2017-09-15 | 1 | -0/+2 |
| | | | | As found in NetBSD. | ||||
* | Add casts to silence MSVC | Chris Robinson | 2017-06-29 | 1 | -2/+2 |
| | |||||
* | Try increasing the stack size if thread creation fails | Chris Robinson | 2016-09-08 | 1 | -7/+25 |
| | | | | Also increase the default stack size to 2MB. | ||||
* | Fix a direct access to a UIntMap | Chris Robinson | 2016-07-09 | 1 | -2/+2 |
| | |||||
* | Don't try to emulate almtx_timedlock | Chris Robinson | 2016-05-30 | 1 | -43/+12 |
| | |||||
* | Avoid underflow in alcnd_timedwait if the time point is already passed | Chris Robinson | 2016-02-07 | 1 | -6/+22 |
| | |||||
* | Replace some CreateEvent calls with CreateEventW | Chris Robinson | 2016-02-07 | 1 | -2/+2 |
| | |||||
* | Explicit check if pthread_setname_np accepts only one parameter | Chris Robinson | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Add missing closing parenthesis | Chris Robinson | 2015-12-11 | 1 | -1/+1 |
| | |||||
* | Use Apple's pthread_setname_np before GNU's | Chris Robinson | 2015-12-11 | 1 | -3/+3 |
| | |||||
* | Only pass nano seconds to al_nssleep | Chris Robinson | 2014-09-08 | 1 | -3/+3 |
| | |||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -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 | ||||
* | Avoid unnecessary local variables | Chris Robinson | 2014-05-27 | 1 | -6/+6 |
| | |||||
* | Implement condition variables for Windows | Chris Robinson | 2014-05-27 | 1 | -0/+158 |
| | |||||
* | Implement condition variables (POSIX only!) | Chris Robinson | 2014-05-26 | 1 | -4/+44 |
| | | | | | Windows requires Vista or newer to get the CONDITION_VARIABNLE API, but we currently only require XP. | ||||
* | Make sure FILETIME and ULARGE_INTEGER sizes match | Chris Robinson | 2014-05-07 | 1 | -0/+2 |
| | |||||
* | Move threads.c to a separate source dir | Chris Robinson | 2014-05-06 | 1 | -0/+544 |
This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc. |