Chris Robinson
|
dac9379449
|
Add methods to clean up althrd and altss data
|
2018-03-10 12:10:58 -08:00 |
|
Chris Robinson
|
b11e31fbfd
|
Clear stale 'post's on the event semphaphore
|
2018-02-11 06:14:18 -08:00 |
|
Chris Robinson
|
a114d6cbb5
|
Remove unused _timed methods
They're not reliably implemented anyway, as some systems will just flat out
fail when trying to use them.
|
2018-02-01 22:24:17 -08:00 |
|
Chris Robinson
|
3a90fd5751
|
Avoid an unnecessary temp variable
|
2018-02-01 19:11:23 -08:00 |
|
Chris Robinson
|
4ec31291c0
|
Add semaphore functions to the thread API wrapper
|
2018-02-01 17:37:31 -08:00 |
|
Chris Robinson
|
724d6267c8
|
Add a check for pthread_setname_np with three parameters
As found in NetBSD.
|
2017-09-15 22:09:37 -07:00 |
|
Chris Robinson
|
ec13cf6c9c
|
Add casts to silence MSVC
|
2017-06-29 10:28:22 -07:00 |
|
Chris Robinson
|
958301d880
|
Try increasing the stack size if thread creation fails
Also increase the default stack size to 2MB.
|
2016-09-08 06:30:25 -07:00 |
|
Chris Robinson
|
fe2fb81047
|
Fix a direct access to a UIntMap
|
2016-07-09 16:42:36 -07:00 |
|
Chris Robinson
|
d1c4fb6364
|
Don't try to emulate almtx_timedlock
|
2016-05-30 05:04:49 -07:00 |
|
Chris Robinson
|
000ced3795
|
Avoid underflow in alcnd_timedwait if the time point is already passed
|
2016-02-07 17:47:52 -08:00 |
|
Chris Robinson
|
f4fa41487c
|
Replace some CreateEvent calls with CreateEventW
|
2016-02-07 16:14:27 -08:00 |
|
Chris Robinson
|
bb0ac26ce1
|
Explicit check if pthread_setname_np accepts only one parameter
|
2016-01-21 02:33:45 -08:00 |
|
Chris Robinson
|
d7b2bba2e6
|
Add missing closing parenthesis
|
2015-12-11 07:35:39 -08:00 |
|
Chris Robinson
|
13bf636a34
|
Use Apple's pthread_setname_np before GNU's
|
2015-12-11 07:26:27 -08:00 |
|
Chris Robinson
|
2be33d8a77
|
Only pass nano seconds to al_nssleep
|
2014-09-08 04:37:52 -07:00 |
|
François Cami
|
3c13e1e333
|
Update COPYING to the latest https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
|
2014-08-18 11:34:29 -07:00 |
|
Chris Robinson
|
fd62868c17
|
Avoid unnecessary local variables
|
2014-05-27 15:32:38 -07:00 |
|
Chris Robinson
|
f0b65aa6b7
|
Implement condition variables for Windows
|
2014-05-27 05:22:53 -07:00 |
|
Chris Robinson
|
b6e1042e8c
|
Implement condition variables (POSIX only!)
Windows requires Vista or newer to get the CONDITION_VARIABNLE API, but we
currently only require XP.
|
2014-05-26 03:52:55 -07:00 |
|
Chris Robinson
|
3e274c3a57
|
Make sure FILETIME and ULARGE_INTEGER sizes match
|
2014-05-07 16:12:34 -07:00 |
|
Chris Robinson
|
fa12855d19
|
Move threads.c to a separate source dir
This will eventually serve to build a static lib of common wrapper methods,
such as threads, mutexes, atomics, etc.
|
2014-05-06 18:57:42 -07:00 |
|