Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ lock
Method
lock
tensorflow/core/platform/default/mutex.cc:43–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
mutex::mutex(LinkerInitialized x) {}
42
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
Callers
15
Compute
Method · 0.45
UpdateStats
Function · 0.45
UpdateStatsCollated
Function · 0.45
SetBufferStatus
Method · 0.45
CreateCPUBuffer
Method · 0.45
SendNextItem
Method · 0.45
ChangeState
Method · 0.45
LockVariables
Function · 0.45
Send
Method · 0.45
RecvAsync
Method · 0.45
GetOrCreateIfAbsent
Method · 0.45
ForEach
Method · 0.45
Calls
1
mu_cast
Function · 0.85
Tested by
3
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36