DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
taskqueue_state_t Struct Reference
+ Collaboration diagram for taskqueue_state_t:

Data Fields

Thread_SpinLock command_lock
 
unsigned int enqueuethread
 
int numthreads
 
taskqueue_task_t ** queue_data
 
unsigned int queue_dequeueposition
 
unsigned int queue_enqueueposition
 
unsigned int queue_size
 
unsigned int tasks_averageperframe
 
unsigned int tasks_recentframes [RECENTFRAMES]
 
unsigned int tasks_recentframesindex
 
unsigned int tasks_thisframe
 
taskqueue_state_thread_t threads [MAXTHREADS]
 

Detailed Description

Definition at line 27 of file taskqueue.c.

Field Documentation

◆ command_lock

◆ enqueuethread

unsigned int taskqueue_state_t::enqueuethread

Definition at line 30 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks().

◆ numthreads

int taskqueue_state_t::numthreads

Definition at line 31 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), TaskQueue_Frame(), and TaskQueue_Shutdown().

◆ queue_data

taskqueue_task_t** taskqueue_state_t::queue_data

Definition at line 41 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), and TaskQueue_Enqueue().

◆ queue_dequeueposition

unsigned int taskqueue_state_t::queue_dequeueposition

Definition at line 39 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), and TaskQueue_Enqueue().

◆ queue_enqueueposition

unsigned int taskqueue_state_t::queue_enqueueposition

Definition at line 38 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), and TaskQueue_Enqueue().

◆ queue_size

unsigned int taskqueue_state_t::queue_size

Definition at line 40 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), and TaskQueue_Enqueue().

◆ tasks_averageperframe

unsigned int taskqueue_state_t::tasks_averageperframe

Definition at line 47 of file taskqueue.c.

Referenced by TaskQueue_Frame().

◆ tasks_recentframes

unsigned int taskqueue_state_t::tasks_recentframes[RECENTFRAMES]

Definition at line 45 of file taskqueue.c.

Referenced by TaskQueue_Frame().

◆ tasks_recentframesindex

unsigned int taskqueue_state_t::tasks_recentframesindex

Definition at line 44 of file taskqueue.c.

Referenced by TaskQueue_Frame().

◆ tasks_thisframe

unsigned int taskqueue_state_t::tasks_thisframe

Definition at line 46 of file taskqueue.c.

Referenced by TaskQueue_Enqueue(), and TaskQueue_Frame().

◆ threads

taskqueue_state_thread_t taskqueue_state_t::threads[MAXTHREADS]

Definition at line 32 of file taskqueue.c.

Referenced by TaskQueue_DistributeTasks(), and TaskQueue_Frame().


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