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

Function SHARED_LOCK_FUNCTION

tensorflow/core/platform/mutex.h:187–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 typedef ::tensorflow::mutex mutex_type;
186
187 explicit tf_shared_lock(mutex_type& mu) SHARED_LOCK_FUNCTION(mu) : mu_(&mu) {
188 mu_->lock_shared();
189 }
190
191 tf_shared_lock(mutex_type& mu, std::try_to_lock_t) SHARED_LOCK_FUNCTION(mu)
192 : mu_(&mu) {

Callers 1

mutex.hFile · 0.85

Calls 2

lock_sharedMethod · 0.80
try_lock_sharedMethod · 0.80

Tested by

no test coverage detected