Event handler which receives signals from inter-paragraph data flow and termination detection and waits until both are received before calling a notifier which informs the parent paragraph that this one-sided initialized child paragraph has completed and provides the corresponding dataflow. More...
Public Member Functions | |
one_sided_wait_td_notifier (notifier_type notifier) | |
void | set_value (T const &value, bool b_stealable) |
void | notify_td (void) |
Event handler which receives signals from inter-paragraph data flow and termination detection and waits until both are received before calling a notifier which informs the parent paragraph that this one-sided initialized child paragraph has completed and provides the corresponding dataflow.
Guards against possible race condition where data flow is triggered prior to the success of termination detection, allowing the parent pg to be notified, succeed in its termination detection, and be deleted prior to the child. The gang_executor does not allow child deletion after parents (i.e., tear down must be bottom up).