Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
For internal use only. More...
#include <_concurrent_queue_impl.h>
Protected Member Functions | |
concurrent_queue_base_v8 (size_t item_sz) | |
void __TBB_EXPORTED_METHOD | move_content (concurrent_queue_base_v8 &src) |
move items More... | |
bool __TBB_EXPORTED_METHOD | internal_push_move_if_not_full (const void *src) |
Attempt to enqueue item onto queue using move operation. More... | |
void __TBB_EXPORTED_METHOD | internal_push_move (const void *src) |
Enqueue item at tail of queue using move operation. More... | |
![]() | |
__TBB_EXPORTED_METHOD | concurrent_queue_base_v3 (size_t item_size) |
virtual __TBB_EXPORTED_METHOD | ~concurrent_queue_base_v3 () |
void __TBB_EXPORTED_METHOD | internal_push (const void *src) |
Enqueue item at tail of queue using copy operation. More... | |
void __TBB_EXPORTED_METHOD | internal_pop (void *dst) |
Dequeue item from head of queue. More... | |
void __TBB_EXPORTED_METHOD | internal_abort () |
Abort all pending queue operations. More... | |
bool __TBB_EXPORTED_METHOD | internal_push_if_not_full (const void *src) |
Attempt to enqueue item onto queue using copy operation. More... | |
bool __TBB_EXPORTED_METHOD | internal_pop_if_present (void *dst) |
Attempt to dequeue item from queue. More... | |
ptrdiff_t __TBB_EXPORTED_METHOD | internal_size () const |
Get size of queue. More... | |
bool __TBB_EXPORTED_METHOD | internal_empty () const |
Check if the queue is empty. More... | |
void __TBB_EXPORTED_METHOD | internal_set_capacity (ptrdiff_t capacity, size_t element_size) |
Set the queue capacity. More... | |
virtual page * | allocate_page ()=0 |
custom allocator More... | |
virtual void | deallocate_page (page *p)=0 |
custom de-allocator More... | |
void __TBB_EXPORTED_METHOD | internal_finish_clear () |
free any remaining pages More... | |
void __TBB_EXPORTED_METHOD | internal_throw_exception () const |
throw an exception More... | |
void __TBB_EXPORTED_METHOD | assign (const concurrent_queue_base_v3 &src) |
copy internal representation More... | |
void | internal_swap (concurrent_queue_base_v3 &src) |
swap queues More... | |
void | internal_insert_item (const void *src, copy_specifics op_type) |
Enqueues item at tail of queue using specified operation (copy or move) More... | |
bool | internal_insert_if_not_full (const void *src, copy_specifics op_type) |
Attempts to enqueue at tail of queue using specified operation (copy or move) More... | |
void | internal_assign (const concurrent_queue_base_v3 &src, copy_specifics op_type) |
Assigns one queue to another using specified operation (copy or move) More... | |
Private Member Functions | |
virtual void | move_page_item (page &dst, size_t dindex, const page &src, size_t sindex)=0 |
virtual void | move_item (page &dst, size_t index, const void *src)=0 |
Friends | |
struct | micro_queue |
Additional Inherited Members | |
![]() | |
enum | copy_specifics { copy, move } |
![]() | |
ptrdiff_t | my_capacity |
Capacity of the queue. More... | |
size_t | items_per_page |
Always a power of 2. More... | |
size_t | item_size |
Size of an item. More... | |
For internal use only.
Backward compatible modification of concurrent_queue_base_v3
Definition at line 940 of file _concurrent_queue_impl.h.
|
inlineprotected |
Definition at line 942 of file _concurrent_queue_impl.h.
Enqueue item at tail of queue using move operation.
Definition at line 367 of file concurrent_queue.cpp.
References tbb::internal::concurrent_queue_base_v3::internal_insert_item(), and tbb::internal::concurrent_queue_base_v3::move.
|
protected |
Attempt to enqueue item onto queue using move operation.
Definition at line 495 of file concurrent_queue.cpp.
References tbb::internal::concurrent_queue_base_v3::internal_insert_if_not_full(), and tbb::internal::concurrent_queue_base_v3::move.
Referenced by tbb::concurrent_bounded_queue< T, A >::try_push().
|
protected |
move items
Definition at line 573 of file concurrent_queue.cpp.
References tbb::internal::concurrent_queue_base_v3::internal_assign(), and tbb::internal::concurrent_queue_base_v3::move.
Referenced by tbb::concurrent_bounded_queue< T, A >::concurrent_bounded_queue().
|
privatepure virtual |
Implemented in tbb::concurrent_bounded_queue< T, A >.
|
privatepure virtual |
Implemented in tbb::concurrent_bounded_queue< T, A >.
|
friend |
Definition at line 953 of file _concurrent_queue_impl.h.