Multi-threading: Difference between revisions

Bond697 (talk | contribs)
No edit summary
Neobrain (talk | contribs)
Content moved to CTR API
Line 288: Line 288:


=== ReleaseMutex ===
=== ReleaseMutex ===
== Critical Section (light-weight mutex) ==
Similar to a mutex, but faster and no priority inheritance. Therefore problems such as priority inversion may occur.
=== CriticalSection::Initialize ===
Creates an object
=== CriticalSection::Enter ===
Locks out threads from accessing a critical section.
=== CriticalSection::Leave ===
Unlocks and allows for access to a critical section.


== Semaphore ==
== Semaphore ==
== Light Semaphore ==


== Event ==
== Event ==
== Light Event ==


== Address Arbiters ==
== Address Arbiters ==