__gnu_parallel::RestrictedBoundedConcurrentQueue - Online Linux Manual PageSection : 3
Updated : 19 Jun 2018
Source : libstdc++
NAME__gnu_parallel::RestrictedBoundedConcurrentQueue − Double-ended queue of bounded size, allowing lock-free atomic access. push_front() and pop_front() must not be called concurrently to each other, while pop_back() can be called concurrently at all times. empty(), size(), and top() are intentionally not provided. Calling them would not make sense in a concurrent setting.
SYNOPSIS
Public Member Functionsbool pop_back (T &t)
bool pop_front (T &t)
void push_front (const T &t)
RestrictedBoundedConcurrentQueue (sequence_index_t max_size)
~RestrictedBoundedConcurrentQueue ()
Detailed Description
template<typename T> class __gnu_parallel::RestrictedBoundedConcurrentQueue< T >Double-ended queue of bounded size, allowing lock-free atomic access. push_front() and pop_front() must not be called concurrently to each other, while pop_back() can be called concurrently at all times. empty(), size(), and top() are intentionally not provided. Calling them would not make sense in a concurrent setting. Parameters: T Contained element type. Definition at line 52 of file queue.h.
Constructor & Destructor Documentation
template<typename T> __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::RestrictedBoundedConcurrentQueue (sequence_index_t max_size) [inline]Constructor. Not to be called concurrent, of course. Parameters: max_size Maximal number of elements to be contained. Definition at line 68 of file queue.h.
template<typename T> __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::~RestrictedBoundedConcurrentQueue () [inline]Destructor. Not to be called concurrent, of course. Definition at line 77 of file queue.h.
Member Function Documentation
template<typename T> bool __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::pop_back (T & t) [inline]Pops one element from the queue at the front end. Must not be called concurrently with pop_front(). Definition at line 124 of file queue.h.
template<typename T> bool __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::pop_front (T & t) [inline]Pops one element from the queue at the front end. Must not be called concurrently with pop_front(). Definition at line 100 of file queue.h. Referenced by __gnu_parallel::qsb_local_sort_with_helping().
template<typename T> void __gnu_parallel::RestrictedBoundedConcurrentQueue< T >::push_front (const T & t) [inline]Pushes one element into the queue at the front end. Must not be called concurrently with pop_front(). Definition at line 83 of file queue.h. Referenced by __gnu_parallel::qsb_local_sort_with_helping().
AuthorGenerated automatically by Doxygen for libstdc++ from the source code. 0
Johanes Gumabo
Data Size : 14,904 byte
man-__gnu_parallel::RestrictedBoundedConcurrentQueue.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 255,434
Visitor ID : :
Visitor IP : 18.117.72.244 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.