MCPcopy Index your code
hub / github.com/evcc-io/evcc / Lock

Function Lock

plugin/javascript/registry.go:21–23  ·  view source on GitHub ↗

expose mutex to serialize VM access

()

Source from the content-addressed store, hash-verified

19
20// expose mutex to serialize VM access
21func Lock() {
22 mu.Lock()
23}
24
25// expose mutex to serialize VM access
26func Unlock() {

Callers 3

handleGetterMethod · 0.92
handleSetterMethod · 0.92
setParamSyncMethod · 0.92

Calls 1

LockMethod · 0.80

Tested by

no test coverage detected