Skip to content

Commit

Permalink
Clean-up (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
aepanchi authored Oct 1, 2021
1 parent b3d63b7 commit 144f75f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions doc/main/tbb_userguide/Data_Flow_Graph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ This final implementation has all of the nodes and edges from the
much advantage in using an ``input_node`` over an explicit loop. But,
because an ``input_node`` is able to react to the behavior of downstream
nodes, it can limit memory use in more complex graphs. For more
information, see `Creating a Token-Based
System <create_token_based_system.html#create_token_based_system>`__
information, see:ref:`create_token_based_system` .


.. |image0| image:: Images/flow_graph.jpg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ You may not always want to block the main application thread by calling
wait_for_all(). However, it is safest to call wait_for_all on a graph
before destroying it. A common solution is to enqueue a task to build
and wait for the graph to complete. For example, assume you really do
not want to call a wait_for_all in the example from `Always Use
wait_for_all() <always_use_wait_for_all.html#always_use_wait4all>`__,
not want to call a wait_for_all in the example from :ref:`always_use_wait_for_all`,
Instead you can enqueue a task that creates the graph and waits for it:


Expand Down
3 changes: 1 addition & 2 deletions doc/main/tbb_userguide/use_graph_reset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Use graph::reset() to Reset a Canceled Graph
When a graph execution is canceled either because of an unhandled
exception or because its task_group_context is canceled explicitly, the
graph and its nodes may be left in an indeterminate state. For example,
in the code samples shown in `Cancel a Graph
Explicitly <cancel_a_graph.html#cancel_a_graph>`__ the input 2 may be
in the code samples shown in :ref:`cancel_a_graph` the input 2 may be
left in a buffer. But even beyond remnants in the buffers, there are
other optimizations performed during the execution of a flow graph that
can leave its nodes and edges in an indeterminate state. If you want to
Expand Down
3 changes: 1 addition & 2 deletions doc/main/tbb_userguide/use_input_node.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ All ``input_node`` objects are constructed in the inactive state and usually
activated after the entire flow graph is constructed.


For example, you can use the code in `Data Flow
Graph <Data_Flow_Graph.html#Data_Flow_Graph>`__. In that implementation,
For example, you can use the code in :ref:`Data_Flow_Graph`. In that implementation,
the ``input_node`` is constructed in the inactive state and activated after
all other edges are made:

Expand Down

0 comments on commit 144f75f

Please sign in to comment.