UFO: Alien Invasion
threadstate_t Struct Reference

#include <shared.h>

Collaboration diagram for threadstate_t:
Collaboration graph

Data Fields

int numthreads
 
int workindex
 
int workcount
 
int workfrac
 
int worktick
 
bool progress
 

Detailed Description

Definition at line 126 of file shared.h.

Field Documentation

◆ numthreads

◆ progress

bool threadstate_t::progress

are we reporting progress

Definition at line 132 of file shared.h.

Referenced by GetThreadWork(), and RunThreadsOn().

◆ workcount

int threadstate_t::workcount

total work cycles

Definition at line 129 of file shared.h.

Referenced by GetThreadWork(), and RunThreadsOn().

◆ workfrac

int threadstate_t::workfrac

last fraction of work completed (tenths)

Definition at line 130 of file shared.h.

Referenced by GetThreadWork(), and RunThreadsOn().

◆ workindex

int threadstate_t::workindex

current work cycle

Definition at line 128 of file shared.h.

Referenced by GetThreadWork(), and RunThreadsOn().

◆ worktick

int threadstate_t::worktick

Number of iterations before the progress spinner is spun

Definition at line 131 of file shared.h.

Referenced by GetThreadWork(), and RunThreadsOn().


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