Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move threads.c to a separate source dir | Chris Robinson | 2014-05-06 | 1 | -531/+0 |
| | | | | | This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc. | ||||
* | Use gettimeofday if clock_gettime isn't available | Chris Robinson | 2014-05-06 | 1 | -5/+11 |
| | |||||
* | Use a backup in case pthread_mutex_timedlock isn't available | Chris Robinson | 2014-05-01 | 1 | -1/+23 |
| | |||||
* | Simplify some error checking | Chris Robinson | 2014-04-18 | 1 | -7/+1 |
| | |||||
* | Rename althread_once to be more C11-like | Chris Robinson | 2014-04-17 | 1 | -0/+12 |
| | |||||
* | Use the thread ID for althrd_t on Windows | Chris Robinson | 2014-04-17 | 1 | -11/+31 |
| | |||||
* | Rename SetThreadName to althrd_setname | Chris Robinson | 2014-04-17 | 1 | -8/+10 |
| | |||||
* | Check explicitly for pthread_mutexattr_setkind_np before use | Chris Robinson | 2014-04-17 | 1 | -1/+1 |
| | |||||
* | Fix SetThreadName for 64-bit MSVC builds | Chris Robinson | 2014-04-17 | 1 | -1/+3 |
| | |||||
* | Don't inline al_nssleep | Chris Robinson | 2014-04-17 | 1 | -2/+11 |
| | |||||
* | Make and use a C11-like altimespec_get wrapper function | Chris Robinson | 2014-04-17 | 1 | -12/+48 |
| | |||||
* | Fix a signed-unsigned comparison warning and clarify a comment | Chris Robinson | 2014-04-17 | 1 | -5/+5 |
| | |||||
* | Keep TlsDestructors within threads.c | Chris Robinson | 2014-04-17 | 1 | -1/+6 |
| | | | | | This basically makes the threads implementation self-contained in threads.c and threads.h, except for the UIntMap/RWLock implementations. | ||||
* | Don't use DllMain to call altss destructors | Chris Robinson | 2014-04-17 | 1 | -2/+38 |
| | |||||
* | Rename althread_key_ wrappers to altss_ and move it to threads.h/c | Chris Robinson | 2014-04-17 | 1 | -0/+34 |
| | |||||
* | Fix some almtx_ return values | Chris Robinson | 2014-04-16 | 1 | -3/+14 |
| | |||||
* | Remove almtx_normal and almtx_errorcheck | Chris Robinson | 2014-04-16 | 1 | -14/+7 |
| | |||||
* | Make sure the duration given to althrd_sleep is valid | Chris Robinson | 2014-04-16 | 1 | -2/+8 |
| | |||||
* | Avoid using a Sleep() wrapper | Chris Robinson | 2014-04-16 | 1 | -0/+2 |
| | |||||
* | Remove the old thread wrappers for the new ones | Chris Robinson | 2014-04-16 | 1 | -116/+2 |
| | |||||
* | Move the threads and mutex wrappers to threads.c | Chris Robinson | 2014-04-16 | 1 | -0/+255 |
| | |||||
* | Fix a couple casts | Chris Robinson | 2013-10-28 | 1 | -1/+1 |
| | |||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+3 |
| | |||||
* | Separate compatibility declarations | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Move SetThreadName to threads.c | Chris Robinson | 2013-10-27 | 1 | -0/+44 |
| | |||||
* | Rework threading functions | Chris Robinson | 2013-10-27 | 1 | -0/+152 |