AuroraRuntime/Include/Aurora/Threading/README.md

15 lines
665 B
Markdown
Raw Normal View History

2022-06-12 17:28:51 +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 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