naev 0.12.5
ThreadQueue Struct Reference

Threadqueue itself. More...

Collaboration diagram for ThreadQueue:

Data Fields

Nodefirst
Nodelast
Nodereserve
SDL_sem * semaphore
SDL_mutex * t_lock
SDL_mutex * h_lock
SDL_mutex * r_lock
SDL_cond * cond
SDL_mutex * mutex
struct vpoolThreadData_arg
int cnt

Detailed Description

Threadqueue itself.

Definition at line 63 of file threadpool.c.

Field Documentation

◆ arg

struct vpoolThreadData_* ThreadQueue::arg

Definition at line 75 of file threadpool.c.

◆ cnt

int ThreadQueue::cnt

Definition at line 76 of file threadpool.c.

◆ cond

SDL_cond* ThreadQueue::cond

Definition at line 73 of file threadpool.c.

◆ first

Node* ThreadQueue::first

The first node

Definition at line 64 of file threadpool.c.

◆ h_lock

SDL_mutex* ThreadQueue::h_lock

Same as tail lock, except it's head lock

Definition at line 70 of file threadpool.c.

◆ last

Node* ThreadQueue::last

The second node

Definition at line 65 of file threadpool.c.

◆ mutex

SDL_mutex* ThreadQueue::mutex

Definition at line 74 of file threadpool.c.

◆ r_lock

SDL_mutex* ThreadQueue::r_lock

For reserve buffer.

Definition at line 71 of file threadpool.c.

◆ reserve

Node* ThreadQueue::reserve

Reserve buffer.

Definition at line 66 of file threadpool.c.

◆ semaphore

SDL_sem* ThreadQueue::semaphore

Definition at line 68 of file threadpool.c.

◆ t_lock

SDL_mutex* ThreadQueue::t_lock

Tail lock. Lock when reading/updating tail

Definition at line 69 of file threadpool.c.


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