#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 | |
| AbstractWorkList () | |
| void | push (const value_type &val) |
| push a value onto the queue | |
| template<typename Iter > | |
| void | push (Iter b, Iter e) |
| push a range onto the queue | |
| template<typename RangeTy > | |
| void | push_initial (RangeTy) |
| push initial range onto the queue called with the same b and e on each thread | |
| boost::optional< value_type > | steal (AbstractWorkList &victim, bool half, bool pop) |
| steal from a similar worklist | |
| boost::optional< value_type > | pop () |
| pop a value from the queue. | |
Private Member Functions | |
| AbstractWorkList (const AbstractWorkList &) | |
| const AbstractWorkList & | operator= (const AbstractWorkList &) |
| typedef T GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::value_type |
T is the value type of the WL.
| GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::AbstractWorkList | ( | const AbstractWorkList< T, concurrent > & | ) | [private] |
| GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::AbstractWorkList | ( | ) | [inline] |
| const AbstractWorkList& GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::operator= | ( | const AbstractWorkList< T, concurrent > & | ) | [private] |
| boost::optional<value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::pop | ( | ) | [inline] |
pop a value from the queue.
| void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push | ( | Iter | b, | |
| Iter | e | |||
| ) | [inline] |
push a range onto the queue
| void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push | ( | const value_type & | val | ) | [inline] |
push a value onto the queue
| void GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::push_initial | ( | RangeTy | ) | [inline] |
push initial range onto the queue called with the same b and e on each thread
| boost::optional<value_type> GaloisRuntime::WorkList::AbstractWorkList< T, concurrent >::steal | ( | AbstractWorkList< T, concurrent > & | victim, | |
| bool | half, | |||
| bool | pop | |||
| ) |
steal from a similar worklist
1.6.1