MCPcopy
hub / github.com/google/gvisor / testReturnAcquireCall

Function testReturnAcquireCall

tools/checklocks/test/return.go:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func testReturnAcquireCall() {
40 tc := testReturnValidAcquire()
41 tc.guardedField = 1
42 tc.mu.Unlock()
43}
44
45// +checklocksacquire:tc.val.mu
46// +checklocksacquire:tc.ptr.mu

Callers

nothing calls this directly

Calls 2

testReturnValidAcquireFunction · 0.85
UnlockMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…