parQHV
Compute HyperVolumes using threads
 All Data Structures Files Functions Variables Macros
jobQueue Struct Reference

SIMJs is queue size. More...

Collaboration diagram for jobQueue:

Data Fields

pthread_mutex_t * mutex
 
pthread_cond_t cond
 
int head
 
int tail
 
int C [SIMJs]
 
jobData R [SIMJs]
 

Detailed Description

SIMJs is queue size.

Definition at line 78 of file tpool.c.

Field Documentation

int C[SIMJs]

Array that counts the number tasks on a job.

Definition at line 83 of file tpool.c.

pthread_cond_t cond

Use to warn console of available space.

Definition at line 80 of file tpool.c.

int head

Position where you can insert a new job.

Definition at line 81 of file tpool.c.

pthread_mutex_t* mutex

Exclusive read or write operations to tasks and jobs

Definition at line 79 of file tpool.c.

jobData R[SIMJs]

Array with results.

Definition at line 84 of file tpool.c.

int tail

Position of the last job being processed.

Definition at line 82 of file tpool.c.


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