libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
Threading and timing

Thread, Mutex, Cond and SystemTime - the wrappers app and library code use instead of a platform's raw threading API. More...

Classes

class  Cond
 A condition variable. More...
 
class  Mutex
 A simple mutual-exclusion lock. More...
 
class  MutexLock
 RAII lock guard - locks on construction, unlocks on destruction. More...
 
class  Thread
 A platform thread. More...
 
class  ThreadId
 A lightweight, comparable identifier for a thread - including the app's own main/original thread, which was never itself started via Thread and so has no Thread object of its own to name it. More...
 
struct  ThreadSync
 Bundles the mutex and pair of condition variables used by the common producer/consumer handshake between a background thread and its caller: one side sets a flag (protected by mutex) and signals workCond to wake the other; the other clears the flag and signals idleCond once it's done/idle. More...
 
class  SystemTime
 Platform-agnostic monotonic clock. More...
 

Enumerations

enum class  ThreadPriority {
  Idle , Low , Normal , High ,
  TimeCritical
}
 Abstract thread priority, mapped to each platform's native priority scheme. More...
 

Detailed Description

Thread, Mutex, Cond and SystemTime - the wrappers app and library code use instead of a platform's raw threading API.

Enumeration Type Documentation

◆ ThreadPriority

enum class ThreadPriority
strong

Abstract thread priority, mapped to each platform's native priority scheme.

Definition at line 17 of file Thread.h.