|
| thread_status_t | getThreadStatus (size_t threadIndex) |
| | Get the Thread Status of the thread with threadIndex.
|
| |
| void | joinAll () |
| | Perform a join on all threads.
|
| |
| template<typename... Args> |
| void | joinOn (Args &&... threadIndexes) |
| | Perform a join on the threads with threadIndexes.
|
| |
| template<typename... Args> |
| void | proceed (Args &&... threadIndexes) |
| | Allow threadIndexes to continue while not stopping the scheduler thread.
|
| |
| void | switchContextAll () |
| | Switch context allowing all the threads to proceed while stopping the scheduler from executing until all of the threads switchContext back.
|
| |
| template<typename... Args> |
| void | switchContextTo (Args &&... threadIndexes) |
| | Switch context allowing the threads with threadIndexes to proceed while stopping the scheduler from executing until all threads switchContext back.
|
| |
| template<typename... Args> |
| void | wait (Args &&... threadIndexes) |
| | Wait until the threads with threadIndexes go into WAITING status.
|
| |
| template<thread_status_t S, typename... Args> |
| void | waitUntilAllThreadStatus (Args &&... threadIndexes) |
| | Wait until all of the threadIndexes threads have thread_status_v equal to S.
|
| |
| template<thread_status_t S, typename... Args> |
| size_t | waitUntilOneThreadStatus (Args &&... threadIndexes) |
| | Wait until at least one of the threadIndexes threads have thread_status_v equal to S and return the index of the first thread who reached S.
|
| |
template<size_t N>
class DeterministicConcurrency::UserControlledScheduler< N >
A scheduler which allow to manage the flow of its managed threads.