Nebula
Loading...
Searching...
No Matches
Jobs::JobThread::JobThreadCommand Struct Reference

#include <jobs.h>

Public Attributes

JobThreadCommandType ev
 
union { 
 
   struct { 
 
      uint   slice 
 
      uint   numSlices 
 
      JobContext   context 
 
      void(*   JobFunc )(const JobFuncContext &ctx) 
 
      const std::function< void()> *   callback 
 
   }   run 
 
   struct { 
 
      Threading::Event *   ev 
 
      std::atomic_uint *   completionCounter 
 
      const std::function< void()> *   callback 
 
   }   sync 
 
};  
 

Member Data Documentation

◆ [union]

◆ callback

const std::function<void()>* Jobs::JobThread::JobThreadCommand::callback

◆ completionCounter

std::atomic_uint* Jobs::JobThread::JobThreadCommand::completionCounter

◆ context

JobContext Jobs::JobThread::JobThreadCommand::context

◆ ev [1/2]

JobThreadCommandType Jobs::JobThread::JobThreadCommand::ev

◆ ev [2/2]

Threading::Event* Jobs::JobThread::JobThreadCommand::ev

◆ JobFunc

void(* Jobs::JobThread::JobThreadCommand::JobFunc) (const JobFuncContext &ctx)

◆ numSlices

uint Jobs::JobThread::JobThreadCommand::numSlices

◆ [struct]

struct { ... } Jobs::JobThread::JobThreadCommand::run

◆ slice

uint Jobs::JobThread::JobThreadCommand::slice

◆ [struct]

struct { ... } Jobs::JobThread::JobThreadCommand::sync

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