MCPcopy
hub / github.com/dgraph-io/dgraph / RUnlock

Method RUnlock

x/lock.go:51–54  ·  view source on GitHub ↗

RUnlock releases the reader lock.

()

Source from the content-addressed store, hash-verified

49
50// RUnlock releases the reader lock.
51func (s *SafeMutex) RUnlock() {
52 atomic.AddInt32(&s.readers, -1)
53 s.m.RUnlock()
54}
55
56// AssertRLock asserts whether the reader lock is being held.
57func (s *SafeMutex) AssertRLock() {

Callers 15

RaftMethod · 0.80
ConfStateMethod · 0.80
PeerMethod · 0.80
GetMethod · 0.80
GetAllMethod · 0.80
getPoolMethod · 0.80
GetMethod · 0.80
listenToHeartbeatMethod · 0.80
IsHealthyMethod · 0.80
GetMethod · 0.80
GetNodeMethod · 0.80
AmLeaderMethod · 0.80

Calls

no outgoing calls

Tested by 10

getAccessJWTTokenMethod · 0.64
TestScalarPredicateCountFunction · 0.64
TestReverseEdgeFunction · 0.64
TestReverseEdgeSetDelFunction · 0.64
PostingListMethod · 0.64
TestSplitLengthFunction · 0.64