XII Release 0.1.0
Loading...
Searching...
No Matches
xiiThreadEvent Struct Reference

Public Types

enum class  Type {
  ThreadCreated , ThreadDestroyed , StartingExecution , FinishedExecution ,
  ClearThreadLocals
}
 

Public Attributes

Type m_Type
 
xiiThreadm_pThread = nullptr
 

Member Enumeration Documentation

◆ Type

enum class xiiThreadEvent::Type
strong
Enumerator
ThreadCreated 

Called on the thread that creates the xiiThread instance (not the xiiThread itself).

ThreadDestroyed 

Called on the thread that destroys the xiiThread instance (not the xiiThread itself).

StartingExecution 

Called on the xiiThread before the Run() method is executed.

FinishedExecution 

Called on the xiiThread after the Run() method was executed.

ClearThreadLocals 

Potentially called on the xiiThread (currently only for task system threads) at a time when plugins should clean up thread-local storage.


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