MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MoveToState

Method MoveToState

tensorflow/core/common_runtime/function_testlib.cc:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void BlockingOpState::MoveToState(int expected_current, int next) {
69 mutex_lock ml(mu_);
70 CHECK_EQ(expected_current, state_);
71 state_ = next;
72 cv_.notify_all();
73}
74
75BlockingOpState* blocking_op_state = nullptr;
76

Callers 3

TEST_FFunction · 0.80
ComputeMethod · 0.80

Calls 1

notify_allMethod · 0.80

Tested by

no test coverage detected