Information local to one thread in the parallel quicksort run. More...
#include <balanced_quicksort.h>
Public Types | |
typedef _TraitsType::difference_type | _DifferenceType |
typedef std::pair< _RAIter, _RAIter > | _Piece |
Continuous part of the sequence, described by an iterator pair. More... | |
typedef std::iterator_traits< _RAIter > | _TraitsType |
Public Member Functions | |
_QSBThreadLocal (int __queue_size) | |
Constructor. More... | |
Public Attributes | |
volatile _DifferenceType * | _M_elements_leftover |
Pointer to a counter of elements left over to sort. More... | |
_Piece | _M_global |
The complete sequence to sort. More... | |
_Piece | _M_initial |
Initial piece to work on. More... | |
_RestrictedBoundedConcurrentQueue< _Piece > | _M_leftover_parts |
Work-stealing queue. More... | |
_ThreadIndex | _M_num_threads |
Number of threads involved in this algorithm. More... | |
Information local to one thread in the parallel quicksort run.
typedef _TraitsType::difference_type __gnu_parallel::_QSBThreadLocal< _RAIter >::_DifferenceType |
typedef std::pair<_RAIter, _RAIter> __gnu_parallel::_QSBThreadLocal< _RAIter >::_Piece |
Continuous part of the sequence, described by an iterator pair.
typedef std::iterator_traits<_RAIter> __gnu_parallel::_QSBThreadLocal< _RAIter >::_TraitsType |
|
inline |
Constructor.
__queue_size | size of the work-stealing queue. |
volatile _DifferenceType* __gnu_parallel::_QSBThreadLocal< _RAIter >::_M_elements_leftover |
Pointer to a counter of elements left over to sort.
Referenced by __gnu_parallel::__parallel_sort_qsb(), __gnu_parallel::__qsb_conquer(), and __gnu_parallel::__qsb_local_sort_with_helping().
_Piece __gnu_parallel::_QSBThreadLocal< _RAIter >::_M_global |
The complete sequence to sort.
_Piece __gnu_parallel::_QSBThreadLocal< _RAIter >::_M_initial |
Initial piece to work on.
Referenced by __gnu_parallel::__qsb_conquer(), and __gnu_parallel::__qsb_local_sort_with_helping().
_RestrictedBoundedConcurrentQueue<_Piece> __gnu_parallel::_QSBThreadLocal< _RAIter >::_M_leftover_parts |
Work-stealing queue.
Referenced by __gnu_parallel::__qsb_local_sort_with_helping().
_ThreadIndex __gnu_parallel::_QSBThreadLocal< _RAIter >::_M_num_threads |
Number of threads involved in this algorithm.
Referenced by __gnu_parallel::__qsb_local_sort_with_helping().