Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Jul 25, 2024
1 parent e36ea55 commit 8855661
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func (g *globalAutoAnalyzeProcessList) All() []uint64 {
return maps.Keys(g.processes)
}

// Contains checks whether the auto analyze process ID is in the list.
func (g *globalAutoAnalyzeProcessList) Contains(id uint64) bool {
g.mu.RLock()
defer g.mu.RUnlock()
Expand Down

0 comments on commit 8855661

Please sign in to comment.