Commit Graph

24 Commits (master)

Author SHA1 Message Date
Chris Robinson f81558c948 Avoid including windows.h in threads.h 2020-06-28 12:55:55 -07:00
Chris Robinson f0408809d6 Cleanup common sources' includes 2019-07-29 09:29:35 -07:00
Chris Robinson 0d2bbe17f2 Rename a function for consistency 2018-11-29 13:34:06 -08:00
Chris Robinson c2da83dea8 Avoid alsem* wrappers for al::semaphore 2018-11-27 14:52:04 -08:00
Chris Robinson f26083e9ed Make and use a semaphore class 2018-11-27 13:41:30 -08:00
Chris Robinson d06f76957c Remove althrd_yield 2018-11-26 23:06:49 -08:00
Chris Robinson 4c1fc3ae00 Remove unused almtx stuff 2018-11-26 22:36:55 -08:00
Chris Robinson b108d0acfd Remove the last remaining uses of althrd_t 2018-11-26 21:39:31 -08:00
Chris Robinson bf9db1fe3d Remove althrd_t from Windows 2018-11-26 20:34:16 -08:00
Chris Robinson 75213ee6f9 Always use RAII with EffectSlotLock 2018-11-21 05:35:47 -08:00
Chris Robinson 7b537c795b Don't pass the current thread to althrd_setname 2018-11-17 06:07:04 -08:00
Chris Robinson 09943683b5 Remove some more unused stuff 2018-11-17 02:41:21 -08:00
Chris Robinson f1731af282 Remove unneeded declarations and definitions 2018-11-17 01:29:35 -08:00
Chris Robinson de8d8b5216 Remove unused altss types and methods 2018-11-16 22:12:35 -08:00
Chris Robinson 5bc2918e16 Remove the unused condition variable APIs 2018-11-10 22:53:03 -08:00
Chris Robinson f3ce7bc7dc Move altimespec_get and al_nssleep to examples' common code 2018-11-10 21:09:54 -08:00
Chris Robinson 4b7af24ed5 Add specializations for lock_guard and unique_lock to take almtx_t 2018-10-31 10:35:12 -07:00
alexey.lysiuk c8d866a25a Use GCD semaphore on macOS
Unnamed POSIX semaphore doesn't work on macOS
2018-10-15 19:41:22 +03:00
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 4ec31291c0 Add semaphore functions to the thread API wrapper 2018-02-01 17:37:31 -08:00
Chris Robinson 4db1328bc5 Move the FORCE_ALIGN macro to threads.h 2018-01-12 03:55:33 -08:00
Chris Robinson afb59e7f98 Move internal headers out of the include directory 2017-04-14 18:15:56 -07:00