Skip to content

Commit

Permalink
fix thread safe
Browse files Browse the repository at this point in the history
Signed-off-by: Mishin, Ilya <ilya.mishin@intel.com>
  • Loading branch information
Iliamish committed Aug 11, 2021
1 parent 3dfc84e commit 64d8acc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/conformance/conformance_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ void test_functional_nodes_rf_reset_protocol(){

f.try_put(0);
f.try_put(0);

CHECK_MESSAGE((counting_body.execute_count == 0), "Body should not be executed");
g.reset(oneapi::tbb::flow::rf_reset_protocol);

Expand All @@ -94,7 +93,7 @@ void test_buffering_nodes_rf_reset_protocol(Args... node_body){
CHECK_MESSAGE((tmp == -1), "Value should not be updated");

testing_node.try_put(1);

g.wait_for_all();
g.reset(oneapi::tbb::flow::rf_reset_protocol);

tmp = -1;
Expand Down

0 comments on commit 64d8acc

Please sign in to comment.