AuroraRuntime/Include/Aurora/Threading
Jamie Reece Wilson 5862dbeacc [+] New generic primitives
[-] AuSemaphore.Unix.hpp
[*] Moved the old pthread based primitives to _removed/*.bak
[+] AuWoASemaphore.Unix.cpp
[+] AuWoASemaphore.Unix.hpp
2023-12-29 16:12:14 +00:00
..
Primitives [+] New generic primitives 2023-12-29 16:12:14 +00:00
Threads [-] Yeetus 2023-11-29 08:50:14 +00:00
Waitables [*] Update the FutexSemaphore to wake no more than the requested wake count 2023-12-06 11:17:50 +00:00
InitOnce.hpp [*] Minor include header improvements 2023-09-22 00:46:51 +01:00
IWaitable.hpp [*] Ehhh. I never liked how I implemented the fallback for MS absolute waits. 2023-09-12 17:10:51 +01:00
LockGuard.hpp [*] MSVC isn't always inlining lock guards 2023-09-19 02:49:48 +01:00
LockGuardTry.hpp [*] A patch to fix some of the regressions introduced in the first step in overhauling AuAsync 2023-06-07 20:35:31 +01:00
README SleepNote.txt [+] NS readmes 2022-06-12 18:28:51 +01:00
README.md [+] AuProcess::EnvironmentGetAll 2023-07-10 17:00:42 +01:00
Sleep.hpp Initial Commit 2021-06-27 22:25:29 +01:00
SpinTime.hpp [*] Cleanup/formatting of SMT yields 2023-09-06 17:01:01 +01:00
Threading.hpp [+] AuInitOnce 2023-09-17 13:26:37 +01:00
WaitFor.hpp [*] Not deprecated enough 2023-09-12 21:31:34 +01:00
WakeOnAddress.hpp [*] Linux clean up (?) (+typo) 2023-12-23 03:16:43 +00:00

AuThreading

Features

  • Thread synchronization primitives: condition ex, condition mutex, condition variable, critical section, event, mutex, rwlock, semaphore, and spinlock
  • All primitives include a trylock and a nanosecond-resolution timed lock methods
  • SleepNs function supporting higher resolution sleep available than in most APIs (^1)
  • Enchanced Win32 support with increased yield resolution and optimization around internal XP, internal Win8, and UWP APIs
  • WakeOnAddress support on every operating system regardless of kernel support
  • Thread Object per native OS thread
  • Thread spawning with TLS handles and shutdown routines dispatched under pseudo fibers
  • Update thread affinity, throttle, name, and related attributes
  • Lock Util: AU_LOCK_GUARD(pointer/reference/shared ptr)
  • Lock Util: AU_TRY_LOCK_GUARD[...](pointer/reference/shared ptr)

^1: README SleepNote.txt