MPSolve 3.2.1
|
Struct holding a job queue. More...
#include <threading.h>
Public Attributes | |
unsigned int | max_iter |
Maximum number of iteration to perform before raising an exeption. | |
unsigned int | n_roots |
Number of the roots of this problem (i.e. degree of the polynomial). | |
int | iter |
Iterations that is being performed right now. | |
mps_root * | root |
Next root to iterate on. | |
mps_cluster_item * | cluster_item |
Element of s->clusterization that we are iterating on. | |
pthread_mutex_t | mutex |
Internal mutex of the queue used to guarantee exclusive access. | |
Struct holding a job queue.
This structure can be used to coordinate the work in the different thread during multithread computation in MPSolve.
It must be allocated using mps_thread_job_queue_new()
and freed with mps_thread_job_queue_free()
. A new job can be requested with the routine mps_thread_job_queue_next()
.