Open main menu

3dbrew β

CTR API

This page lists the spare knowledge people bothered to document on the official CTR API.

Contents

Synchronization PrimitivesEdit

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::InitializeEdit

Creates an object

CriticalSection::EnterEdit

Locks out threads from accessing a critical section.

CriticalSection::LeaveEdit

Unlocks and allows for access to a critical section.

Light SemaphoreEdit

API unknown.

Light EventEdit

API unknown.