#include <WorkList.h>
Classes | |
| struct | rethread |
| change the concurrency flag More... | |
| struct | retype |
| change the type the worklist holds More... | |
Public Types | |
| typedef T | value_type |
| T is the value type of the WL. | |
Public Member Functions | |
| bool | push (value_type val) |
| push a value onto the queue | |
| bool | aborted (value_type val) |
| push an aborted value onto the queue | |
| std::pair< bool, value_type > | pop () |
| pop a value from the queue. | |
| bool | empty () const |
| return if the queue is empty not thread safe* | |
| template<typename iter > | |
| void | fill_initial (iter begin, iter end) |
| called in sequential mode to seed the worklist | |
| typedef T GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::value_type |
T is the value type of the WL.
| bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::aborted | ( | value_type | val | ) |
push an aborted value onto the queue
| bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::empty | ( | ) | const |
return if the queue is empty not thread safe*
| void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::fill_initial | ( | iter | begin, | |
| iter | end | |||
| ) | [inline] |
called in sequential mode to seed the worklist
| std::pair<bool, value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::pop | ( | ) |
pop a value from the queue.
| bool GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push | ( | value_type | val | ) |
push a value onto the queue
1.6.3