SPH
Public Attributes | List of all members
ThreadContext Struct Reference

Public Attributes

ThreadPoolparentPool = nullptr
 Owner of this thread. More...
 
Size index = Size(-1)
 Index of this thread in the parent thread pool (not std::this_thread::get_id() !) More...
 
SharedPtr< Taskcurrent = nullptr
 Task currently processed by this thread. More...
 

Detailed Description

Definition at line 8 of file Pool.cpp.

Member Data Documentation

◆ current

SharedPtr<Task> ThreadContext::current = nullptr

Task currently processed by this thread.

Definition at line 16 of file Pool.cpp.

◆ index

Size ThreadContext::index = Size(-1)

Index of this thread in the parent thread pool (not std::this_thread::get_id() !)

Definition at line 13 of file Pool.cpp.

◆ parentPool

ThreadPool* ThreadContext::parentPool = nullptr

Owner of this thread.

Definition at line 10 of file Pool.cpp.


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