__gnu_para...hreadLocal(3)
π NAME
Okay bestie, welcome to the Library Functions Manual π
β this is the page for __gnu_parallel::QSBThreadLocal: information local to one thread in the parallel quicksort run. The header up top shortens the name to __gnu_para...hreadLocal(3), because it is long and iconic like that. β¨
πΈ SYNOPSIS
β¨ Public Types
typedef traits_type::difference_type difference_typetypedef std::pair< RandomAccessIterator, RandomAccessIterator > Piecetypedef std::iterator_traits< RandomAccessIterator > traits_type
π Public Member Functions
QSBThreadLocal (int queue_size)β the constructor, setting up your queue size situation.
π¦ Public Attributes
volatile difference_type * elements_leftoverPiece globalPiece initialRestrictedBoundedConcurrentQueue< Piece > leftover_partsthread_index_t num_threads
π§ Detailed Description
template<typename RandomAccessIterator> struct
__gnu_parallel::QSBThreadLocal< RandomAccessIterator >
Information local to one thread in the parallel quicksort run.
Definition at line 62 of file balanced_quicksort.h.
π Member Typedef Documentation
π Piece
template<typename RandomAccessIterator> typedef
std::pair<RandomAccessIterator, RandomAccessIterator>
__gnu_parallel::QSBThreadLocal< RandomAccessIterator >::Piece
Continuous part of the sequence, described by an iterator pair.
Definition at line 69 of file balanced_quicksort.h.
π«Ά Constructor & Destructor Documentation
π QSBThreadLocal
template<typename RandomAccessIterator> __gnu_parallel::QSBThreadLocal<
RandomAccessIterator >::QSBThreadLocal (int queue_size) [inline]
Constructor, bestie. π
Parameters: queue_size β Size of the work-stealing queue.
Definition at line 88 of file balanced_quicksort.h.
π Member Data Documentation
π elements_leftover
template<typename RandomAccessIterator> volatile difference_type* __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::elements_leftover
Pointer to a counter of elements left over to sort.
Definition at line 81 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_conquer(), and __gnu_parallel::qsb_local_sort_with_helping().
π¦ global
template<typename RandomAccessIterator> Piece __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::global
The complete sequence to sort.
Definition at line 84 of file balanced_quicksort.h.
πΈ initial
template<typename RandomAccessIterator> Piece __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::initial
Initial piece to work on.
Definition at line 72 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_conquer(), and __gnu_parallel::qsb_local_sort_with_helping().
π
leftover_parts
template<typename RandomAccessIterator> RestrictedBoundedConcurrentQueue<Piece> __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::leftover_parts
Work-stealing queue.
Definition at line 75 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_local_sort_with_helping().
π num_threads
template<typename RandomAccessIterator> thread_index_t __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::num_threads
Number of threads involved in this algorithm.
Definition at line 78 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_local_sort_with_helping().
β Author
Generated automatically by Doxygen for libstdc++ from the source code.
Okay thatβs the whole vibe, bestie! π«Ά This page is from libstdc++, dated 21 Apr 2009 β the __gnu_para...hreadLocal(3) entry in the Library Functions Manual. Bye and slay your sorting era! πβ¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms