gwion-util
utilities for the Gwion project
Loading...
Searching...
No Matches
Data Fields
threadpool_t Struct Reference

Data Fields

gwtlock_t lock
 
gwtcond_t cond
 
gwtthread_tthreads
 
task_tqueue
 
uint32_t head
 
uint32_t tail
 
uint32_t active
 
uint32_t queue_size
 
uint32_t started
 
bool shutdown
 
bool has_lock
 
bool has_cond
 

Detailed Description

Definition at line 8 of file threadpool.c.

Field Documentation

◆ active

uint32_t threadpool_t::active

Definition at line 15 of file threadpool.c.

◆ cond

gwtcond_t threadpool_t::cond

Definition at line 10 of file threadpool.c.

◆ has_cond

bool threadpool_t::has_cond

Definition at line 20 of file threadpool.c.

◆ has_lock

bool threadpool_t::has_lock

Definition at line 19 of file threadpool.c.

◆ head

uint32_t threadpool_t::head

Definition at line 13 of file threadpool.c.

◆ lock

gwtlock_t threadpool_t::lock

Definition at line 9 of file threadpool.c.

◆ queue

task_t* threadpool_t::queue

Definition at line 12 of file threadpool.c.

◆ queue_size

uint32_t threadpool_t::queue_size

Definition at line 16 of file threadpool.c.

◆ shutdown

bool threadpool_t::shutdown

Definition at line 18 of file threadpool.c.

◆ started

uint32_t threadpool_t::started

Definition at line 17 of file threadpool.c.

◆ tail

uint32_t threadpool_t::tail

Definition at line 14 of file threadpool.c.

◆ threads

gwtthread_t* threadpool_t::threads

Definition at line 11 of file threadpool.c.


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