Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
void mutex::lock() { nsync::nsync_mu_lock(mu_cast(&mu_)); }
44
45
bool mutex::try_lock() { return nsync::nsync_mu_trylock(mu_cast(&mu_)) != 0; };
46
47
void mutex::unlock() { nsync::nsync_mu_unlock(mu_cast(&mu_)); }
48
Callers
4
UpdateStats
Function · 0.80
Run
Method · 0.80
CompactionThread
Method · 0.80
EXCLUSIVE_LOCK_FUNCTION
Function · 0.80
Calls
1
mu_cast
Function · 0.85
Tested by
no test coverage detected