MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / clearLocked

Method clearLocked

pkg/rules/sequence.go:380–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

378}
379
380func (s *sequenceState) clearLocked() {
381 s.mu.Lock()
382 defer s.mu.Unlock()
383 s.smu.Lock()
384 defer s.smu.Unlock()
385 s.mmu.Lock()
386 defer s.mmu.Unlock()
387 s.clear()
388}
389
390// next determines whether the next expression in the
391// sequence should be evaluated. The expression is evaluated

Callers 3

ProcessEventMethod · 0.80
TestComplexSequenceFunction · 0.80

Calls 3

clearMethod · 0.95
LockMethod · 0.80
UnlockMethod · 0.80

Tested by 2

TestComplexSequenceFunction · 0.64