Difference between revisions of "CTR API"
Jump to navigation
Jump to search
(Moved from Multi-threading because it doesn't fit there but seems to be considered valuable information by some) |
m |
||
Line 1: | Line 1: | ||
− | This page lists the spare knowledge | + | This page lists the spare knowledge people bothered to document on the official CTR API. |
= Synchronization Primitives = | = Synchronization Primitives = |
Latest revision as of 12:01, 25 September 2016
This page lists the spare knowledge people bothered to document on the official CTR API.
Synchronization Primitives[edit]
These are to be considered in extension to the system calls outlined in Multi-threading.
Critical Section (light-weight mutex)[edit]
Similar to a mutex, but faster and no priority inheritance. Therefore problems such as priority inversion may occur.
CriticalSection::Initialize[edit]
Creates an object
CriticalSection::Enter[edit]
Locks out threads from accessing a critical section.
CriticalSection::Leave[edit]
Unlocks and allows for access to a critical section.
Light Semaphore[edit]
API unknown.
Light Event[edit]
API unknown.