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

Method try_lock

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

Source from the content-addressed store, hash-verified

43void mutex::lock() { nsync::nsync_mu_lock(mu_cast(&mu_)); }
44
45bool mutex::try_lock() { return nsync::nsync_mu_trylock(mu_cast(&mu_)) != 0; };
46
47void mutex::unlock() { nsync::nsync_mu_unlock(mu_cast(&mu_)); }
48

Callers 4

UpdateStatsFunction · 0.80
RunMethod · 0.80
CompactionThreadMethod · 0.80
EXCLUSIVE_LOCK_FUNCTIONFunction · 0.80

Calls 1

mu_castFunction · 0.85

Tested by

no test coverage detected