GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
ghost_thpool Struct Reference

The thread pool consisting of all shepherd threads that will ever handle a GHOST task. More...

#include <thpool.h>

Public Attributes

pthread_t * threads
 The pthread to thread. More...
 
int nThreads
 The total number of threads in the thread pool. More...
 
sem_t * sem
 Counts the number of initialized threads. More...
 

Detailed Description

The thread pool consisting of all shepherd threads that will ever handle a GHOST task.

Member Data Documentation

int ghost_thpool::nThreads

The total number of threads in the thread pool.

sem_t* ghost_thpool::sem

Counts the number of initialized threads.

Deprecated:
Check whether this is needed.

Only when all threads are initialized and have reached their start routine, ghost_thpool_create() will return.

pthread_t* ghost_thpool::threads

The pthread to thread.

Length: nThreads.


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