|
spot 2.16
|
This class is used to tell parallel algorithms what resources they may use. More...
#include <spot/misc/common.hh>
Public Member Functions | |
| parallel_policy (unsigned nthreads=1) | |
| Construct with nthreads threads. | |
| unsigned | nthreads () const |
| Return the number of threads. | |
This class is used to tell parallel algorithms what resources they may use.
Currently, this simply stores an integer indicating the number of threads that the algorithm may create, but in the future it will probably do more.
|
inline |
Construct with nthreads threads.
|
inline |
Return the number of threads.
1.9.8