Reece Wilson
51a2816f3f
[+] IConditionMutex::TryLock() ... Timed is still too much of an ask for this interface, i think. There's a good reason as to why this isn't a iwaitable. This condvar interface must be as common and primitive as possible. |
||
---|---|---|
.. | ||
Primitives | ||
Threads | ||
Waitables | ||
IWaitable.hpp | ||
LockGuard.hpp | ||
LockGuardTry.hpp | ||
README SleepNote.txt | ||
README.md | ||
Sleep.hpp | ||
Threading.hpp | ||
WaitFor.hpp |
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 timed lock member
- SleepNs function supporting higher resolution sleep available than in most APIs (^1)
- 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