Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
RageThread Class Reference

Thread, mutex, semaphore, and event classes. More...

#include <RageThreads.h>

Public Member Functions

 RageThread (const RageThread &cpy)
 
void SetName (const std::string &n)
 
auto GetName () const -> std::string
 
void Create (int(*fn)(void *), void *data)
 
void Halt (bool Kill=false)
 
void Resume ()
 
auto Wait () -> int
 
auto IsCreated () const -> bool
 

Static Public Member Functions

static void HaltAllThreads (bool Kill=false)
 
static void ResumeAllThreads ()
 
static auto GetCurrentThreadID () -> uint64_t
 
static auto GetCurrentThreadName () -> const char *
 
static auto GetThreadNameByID (uint64_t iID) -> const char *
 
static auto EnumThreadIDs (int n, uint64_t &iID) -> bool
 
static auto GetSupportsTLS () -> bool
 
static void SetSupportsTLS (bool b)
 
static auto GetIsShowingDialog () -> bool
 
static void SetIsShowingDialog (bool b)
 
static auto GetInvalidThreadID () -> uint64_t
 

Detailed Description

Thread, mutex, semaphore, and event classes.


The documentation for this class was generated from the following files: