SCIP Doxygen Documentation
 
Loading...
Searching...
No Matches
SCIP_JobQueues Struct Reference

Detailed Description

Definition at line 56 of file tpi_openmp.c.

Data Fields

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

Field Documentation

◆ jobqueue

SCIP_JOBQUEUE SCIP_JobQueues::jobqueue

queue of unprocessed jobs

Definition at line 58 of file tpi_openmp.c.

Referenced by createJobQueue(), isJobWaiting(), jobQueueAddJob(), jobQueueProcessJob(), and SCIPtpiExit().

◆ currentjobs

SCIP_JOB** SCIP_JobQueues::currentjobs

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

Definition at line 59 of file tpi_openmp.c.

Referenced by createJobQueue(), executeJob(), freeJobQueue(), and isJobRunning().

◆ ncurrentjobs

int SCIP_JobQueues::ncurrentjobs

number of currently running jobs

Definition at line 60 of file tpi_openmp.c.

Referenced by createJobQueue(), executeJob(), isJobRunning(), jobQueueAddJob(), jobQueueProcessJob(), and SCIPtpiExit().

◆ nthreads

int SCIP_JobQueues::nthreads

number of threads

Definition at line 61 of file tpi_openmp.c.

Referenced by createJobQueue(), isJobRunning(), and SCIPtpiInit().

◆ finishedjobs

SCIP_JOBQUEUE SCIP_JobQueues::finishedjobs

jobqueue containing the finished jobs

Definition at line 62 of file tpi_openmp.c.

Referenced by createJobQueue(), executeJob(), SCIPtpiCollectJobs(), and SCIPtpiExit().

◆ lock

SCIP_LOCK SCIP_JobQueues::lock

lock to protect this stucture from concurrent access

Definition at line 63 of file tpi_openmp.c.

Referenced by createJobQueue(), executeJob(), freeJobQueue(), jobQueueAddJob(), jobQueueProcessJob(), SCIPtpiCollectJobs(), and SCIPtpiWaitCondition().

◆ jobfinished

SCIP_CONDITION SCIP_JobQueues::jobfinished

condition to signal if a job was finished

Definition at line 64 of file tpi_openmp.c.

Referenced by createJobQueue(), executeJob(), freeJobQueue(), jobQueueProcessJob(), and SCIPtpiCollectJobs().