summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Zhuoyao Zhang <zhuoyao@google.com> 2024-09-17 21:14:38 +0000
committer Zhuoyao Zhang <zhuoyao@google.com> 2024-09-23 22:04:44 +0000
commit4d48559e2d743ff7b1c29d4f4e16b3a6ceee3ef7 (patch)
tree220c6acc8774ddde19bdc31b9921f275ebfa23c7 /tools/warn/java_warn_patterns.py
parent8478830c575397c5762d325d31bb7d79cd4d6ead (diff)
Ensure a single running instance of edit monitor
This cl ensures at most 1 instance of edit monitor running from the same binary by killing any existing instance before starting. Specifically, When an edit monitor process starts, it will write a pidfile containing its pid and if such pidfile already exists (which means there's another instance there), it will read the pid contained in that pidfile and kill the corresponding process first. Test: atst daemon_manager_test bug: 365617369 Change-Id: I76954344df649aa79a6ef07ce55a62985decdb53
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions