RetroArch
Public Types | Public Member Functions | Public Attributes | List of all members
spirv_cross::ThreadGroup< T, Size >::Thread Struct Reference
Collaboration diagram for spirv_cross::ThreadGroup< T, Size >::Thread:
[legend]

Public Types

enum  State { Idle, Running, Dying }
 

Public Member Functions

void start (T *impl)
 
void wait ()
 
void run ()
 
 ~Thread ()
 

Public Attributes

State state = Idle
 
std::thread worker
 
std::condition_variable cond
 
std::mutex lock
 

Member Enumeration Documentation

◆ State

template<typename T, unsigned Size>
enum spirv_cross::ThreadGroup::Thread::State
Enumerator
Idle 
Running 
Dying 

Constructor & Destructor Documentation

◆ ~Thread()

template<typename T, unsigned Size>
spirv_cross::ThreadGroup< T, Size >::Thread::~Thread ( )
inline

Member Function Documentation

◆ run()

template<typename T, unsigned Size>
void spirv_cross::ThreadGroup< T, Size >::Thread::run ( )
inline

◆ start()

template<typename T, unsigned Size>
void spirv_cross::ThreadGroup< T, Size >::Thread::start ( T impl)
inline

◆ wait()

template<typename T, unsigned Size>
void spirv_cross::ThreadGroup< T, Size >::Thread::wait ( )
inline

Member Data Documentation

◆ cond

template<typename T, unsigned Size>
std::condition_variable spirv_cross::ThreadGroup< T, Size >::Thread::cond

◆ lock

template<typename T, unsigned Size>
std::mutex spirv_cross::ThreadGroup< T, Size >::Thread::lock

◆ state

template<typename T, unsigned Size>
State spirv_cross::ThreadGroup< T, Size >::Thread::state = Idle

◆ worker

template<typename T, unsigned Size>
std::thread spirv_cross::ThreadGroup< T, Size >::Thread::worker

The documentation for this struct was generated from the following file: