MCPcopy Create free account
hub / github.com/facebook/time / decRunningHandlers

Method decRunningHandlers

cmd/ziffy/node/receiver_linux.go:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (r *Receiver) decRunningHandlers() bool {
100 r.Lock()
101 defer r.Unlock()
102 r.runningHandlers--
103 return r.runningHandlers >= 0
104}
105
106func (r *Receiver) handlePacket(rawPacket gopacket.Packet) {
107 defer func() {

Callers 2

TestDecRunningHandlersFunction · 0.95
handlePacketMethod · 0.95

Calls 1

UnlockMethod · 0.65

Tested by 1

TestDecRunningHandlersFunction · 0.76