Nebula
Loading...
Searching...
No Matches
jobs2.cc File Reference
#include "profiling/profiling.h"
#include "io/ioserver.h"
#include "jobs2.h"

Namespaces

namespace  Jobs2
 

Functions

 Jobs2::__ImplementClass (Jobs2::JobThread, 'J2TH', Threading::Thread)
 
void Jobs2::JobSystemInit (const JobSystemInitInfo &info)
 Create a new job port.
 
void Jobs2::JobSystemUninit ()
 Destroy job port.
 
void Jobs2::JobNewFrame ()
 Progress to new buffer.
 
void * Jobs2::JobAlloc (SizeT bytes)
 Allocate memory.
 
void Jobs2::JobSequencePlaceholder (SizeT totalJobs, SizeT groupSize, IndexT groupIndex, SizeT invocationOffset, void *ctx)
 
void Jobs2::JobBeginSequence (const Util::FixedArray< const Threading::AtomicCounter *, true > &waitCounters=nullptr, Threading::AtomicCounter *doneCounter=nullptr, Threading::Event *signalEvent=nullptr)
 Begin a sequence of jobs.
 
void Jobs2::JobEndSequence (Threading::Event *signalEvent=nullptr)
 Flush queued jobs.
 

Variables

Jobs2Context Jobs2::ctx
 
Jobs2::JobNodeJobs2::sequenceNode = nullptr
 
Jobs2::JobNodeJobs2::sequenceTail = nullptr
 
const Threading::AtomicCounterJobs2::prevDoneCounter = nullptr
 
Threading::ThreadId Jobs2::sequenceThread