Sequential execution policy.
More...
#include <sequential_execution.h>
Sequential execution policy.
grppi::sequential_execution::sequential_execution |
( |
| ) |
|
|
inline |
int grppi::sequential_execution::concurrency_degree |
( |
| ) |
const |
|
inlinenoexcept |
Get number of grppi trheads.
- Note
- Getting concurrency degree is always 1 for sequential execution.
void grppi::sequential_execution::disable_ordering |
( |
| ) |
const |
|
inlinenoexcept |
Disable ordering.
- Note
- Disabling ordering of sequential execution is always ignored.
void grppi::sequential_execution::enable_ordering |
( |
| ) |
const |
|
inlinenoexcept |
Enable ordering.
- Note
- Enabling ordering of sequential execution is always ignored.
bool grppi::sequential_execution::is_ordered |
( |
| ) |
const |
|
inlinenoexcept |
Is execution ordered.
- Note
- Sequential execution is always ordered.
void grppi::sequential_execution::set_concurrency_degree |
( |
int |
n | ) |
const |
|
inlinenoexcept |
Set number of grppi threads.
- Note
- Setting concurrency degree is ignored for sequential execution.
The documentation for this class was generated from the following file: