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

Method wait

tensorflow/core/platform/default/mutex.cc:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void condition_variable::wait(mutex_lock &lock) {
93 nsync::nsync_cv_wait(cv_cast(&cv_), mu_cast(&lock.mutex()->mu_));
94}
95
96void condition_variable::notify_one() { nsync::nsync_cv_signal(cv_cast(&cv_)); }
97

Callers 15

validate_cuda_configFunction · 0.45
TestThreadRunFunction · 0.45
ThreadRunFunction · 0.45
mainFunction · 0.45
InitializeMPIOnceFunction · 0.45
InitializeMPIOnceFunction · 0.45
_mock_run_std_serverMethod · 0.45
mainFunction · 0.45

Calls 3

cv_castFunction · 0.85
mu_castFunction · 0.85
mutexMethod · 0.45

Tested by 12

TestThreadRunFunction · 0.36
_mock_run_std_serverMethod · 0.36
AwaitStateMethod · 0.36
BM_AllocationThreadedFunction · 0.36
RunCollectiveMethod · 0.36
WaitForTestCompletionMethod · 0.36