CTR API

From 3dbrew
Revision as of 11:57, 25 September 2016 by Neobrain (talk | contribs) (Moved from Multi-threading because it doesn't fit there but seems to be considered valuable information by some)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page lists the spare knowledge we have on the official CTR API.

Synchronization Primitives

These are to be considered in extension to the system calls outlined in Multi-threading.

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.

Light Semaphore

API unknown.

Light Event

API unknown.