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

Thread_SpinLock taskqueue_state_t::command_lock

Definition at line 35 of file taskqueue.c.

◆ enqueuethread

unsigned int taskqueue_state_t::enqueuethread

Definition at line 30 of file taskqueue.c.

◆ numthreads

int taskqueue_state_t::numthreads

Definition at line 31 of file taskqueue.c.

◆ queue_data

taskqueue_task_t** taskqueue_state_t::queue_data

Definition at line 41 of file taskqueue.c.

◆ queue_dequeueposition

unsigned int taskqueue_state_t::queue_dequeueposition

Definition at line 39 of file taskqueue.c.

◆ queue_enqueueposition

unsigned int taskqueue_state_t::queue_enqueueposition

Definition at line 38 of file taskqueue.c.

◆ queue_size

unsigned int taskqueue_state_t::queue_size

Definition at line 40 of file taskqueue.c.

◆ tasks_averageperframe

unsigned int taskqueue_state_t::tasks_averageperframe

Definition at line 47 of file taskqueue.c.

◆ tasks_recentframes

unsigned int taskqueue_state_t::tasks_recentframes[RECENTFRAMES]

Definition at line 45 of file taskqueue.c.

◆ tasks_recentframesindex

unsigned int taskqueue_state_t::tasks_recentframesindex

Definition at line 44 of file taskqueue.c.

◆ tasks_thisframe

unsigned int taskqueue_state_t::tasks_thisframe

Definition at line 46 of file taskqueue.c.

◆ threads

taskqueue_state_thread_t taskqueue_state_t::threads[MAXTHREADS]

Definition at line 32 of file taskqueue.c.


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