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

Function wait_until_system_clock

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

Source from the content-addressed store, hash-verified

101
102namespace internal {
103std::cv_status wait_until_system_clock(
104 CVData *cv_data, MuData *mu_data,
105 const std::chrono::system_clock::time_point timeout_time) {
106 int r = nsync::nsync_cv_wait_with_deadline(cv_cast(cv_data), mu_cast(mu_data),
107 timeout_time, nullptr);
108 return r ? std::cv_status::timeout : std::cv_status::no_timeout;
109}
110} // namespace internal
111
112} // namespace tensorflow

Callers 1

wait_forMethod · 0.85

Calls 2

cv_castFunction · 0.85
mu_castFunction · 0.85

Tested by

no test coverage detected