#include <graph.h>
Inheritance diagram for tbb::internal::join_port< T, JoinNodeType >:
Public Types | |
typedef T | input_type |
The input type of this receiver. | |
typedef sender< T > | predecessor_type |
The predecessor type. | |
Public Member Functions | |
join_port () | |
Constructor. | |
join_port (const join_port &) | |
void | set_port_counter (forwarding_base *join) |
bool | try_put (T) |
Put to the join port. | |
bool | register_predecessor (sender< T > &src) |
Add a predecessor. | |
bool | remove_predecessor (sender< T > &src) |
Remove a predecessor. | |
bool | reserve (T &v) |
Reserve an item from the port. | |
void | release () |
Release the port. | |
void | consume () |
Complete use of the port. |
bool tbb::internal::join_port< T, JoinNodeType >::try_put | ( | T | ) | [inline, virtual] |
Put to the join port.
It always rejects. Its purpose is to simply cause the sender to register as a predecessor
Implements tbb::receiver< T >.