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

Function EXCLUSIVE_LOCK_FUNCTION

tensorflow/core/platform/mutex.h:148–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 typedef ::tensorflow::mutex mutex_type;
147
148 explicit mutex_lock(mutex_type& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(&mu) {
149 mu_->lock();
150 }
151
152 mutex_lock(mutex_type& mu, std::try_to_lock_t) EXCLUSIVE_LOCK_FUNCTION(mu)
153 : mu_(&mu) {

Callers 1

mutex.hFile · 0.70

Calls 2

try_lockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected