MCPcopy 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

41mutex::mutex(LinkerInitialized x) {}
42
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

Callers 15

ComputeMethod · 0.45
UpdateStatsFunction · 0.45
UpdateStatsCollatedFunction · 0.45
SetBufferStatusMethod · 0.45
CreateCPUBufferMethod · 0.45
SendNextItemMethod · 0.45
ChangeStateMethod · 0.45
LockVariablesFunction · 0.45
SendMethod · 0.45
RecvAsyncMethod · 0.45
GetOrCreateIfAbsentMethod · 0.45
ForEachMethod · 0.45

Calls 1

mu_castFunction · 0.85

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36