|
Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A node_cache maintains a std::queue of elements of type T. Each operation is protected by a lock. More...
#include <flow_graph.h>
Public Types | |
| typedef size_t | size_type |
Public Member Functions | |
| bool | empty () |
| void | add (T &n) |
| void | remove (T &n) |
| void | clear () |
Protected Types | |
| typedef M | mutex_type |
Protected Member Functions | |
| bool | internal_empty () |
| size_type | internal_size () |
| void | internal_push (T &n) |
| T & | internal_pop () |
Protected Attributes | |
| mutex_type | my_mutex |
| std::queue< T * > | my_q |
A node_cache maintains a std::queue of elements of type T. Each operation is protected by a lock.
Definition at line 31 of file flow_graph.h.
|
protected |
Definition at line 90 of file flow_graph.h.
| typedef size_t tbb::flow::interface11::internal::node_cache< T, M >::size_type |
Definition at line 34 of file flow_graph.h.
|
inline |
Definition at line 41 of file flow_graph.h.
|
inline |
Definition at line 55 of file flow_graph.h.
|
inline |
Definition at line 36 of file flow_graph.h.
|
inlineprotected |
Definition at line 98 of file flow_graph.h.
|
inlineprotected |
Definition at line 113 of file flow_graph.h.
|
inlineprotected |
Definition at line 108 of file flow_graph.h.
|
inlineprotected |
Definition at line 103 of file flow_graph.h.
|
inline |
Definition at line 46 of file flow_graph.h.
|
protected |
Definition at line 91 of file flow_graph.h.
|
protected |
Definition at line 92 of file flow_graph.h.