Scippy

SCIP

Solving Constraint Integer Programs

SCIP_JobQueues Struct Reference

Detailed Description

Definition at line 89 of file tpi_openmp.c.

Data Fields

SCIP_JOBQUEUE jobqueue
 
SCIP_JOB ** currentjobs
 
int ncurrentjobs
 
int nthreads
 
SCIP_JOBQUEUE finishedjobs
 
omp_lock_t lock
 
SCIP_CONDITION jobfinished
 

Field Documentation

◆ jobqueue

SCIP_JOBQUEUE SCIP_JobQueues::jobqueue

queue of unprocessed jobs

Definition at line 91 of file tpi_openmp.c.

◆ currentjobs

SCIP_JOB** SCIP_JobQueues::currentjobs

array with slot for each thread to store the currently running job

Definition at line 92 of file tpi_openmp.c.

◆ ncurrentjobs

int SCIP_JobQueues::ncurrentjobs

number of currently running jobs

Definition at line 93 of file tpi_openmp.c.

◆ nthreads

int SCIP_JobQueues::nthreads

number of threads

Definition at line 94 of file tpi_openmp.c.

Referenced by createJobQueue(), and SCIPtpiInit().

◆ finishedjobs

SCIP_JOBQUEUE SCIP_JobQueues::finishedjobs

jobqueue containing the finished jobs

Definition at line 95 of file tpi_openmp.c.

◆ lock

omp_lock_t SCIP_JobQueues::lock

lock to protect this stucture from concurrent access

Definition at line 96 of file tpi_openmp.c.

Referenced by SCIPompWaitCondition(), SCIPtpiAcquireLock(), SCIPtpiDestroyLock(), SCIPtpiInitLock(), SCIPtpiReleaseLock(), and SCIPtpiWaitCondition().

◆ jobfinished

SCIP_CONDITION SCIP_JobQueues::jobfinished

condition to signal if a job was finished

Definition at line 97 of file tpi_openmp.c.