summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Zhuoyao Zhang <zhuoyao@google.com> 2024-12-06 19:17:46 +0000
committer Zhuoyao Zhang <zhuoyao@google.com> 2024-12-06 22:53:35 +0000
commitec657cedbb84e26540a0e062915bc53b6cb0caaf (patch)
treede7e0fabf03c7c1f8b95d56c272a458148d258e0 /tools/warn/java_warn_patterns.py
parent96c15d81dd4b4f59e4e982733801ee95abc9d224 (diff)
Synchronize the setup process of edit monitor
This cl ensures only one edit monitor instance is in the setup proecess by requesting exclusive file lock on a setup lock file. If there is already an edit monitor in setup process, other instances trying to setup will fail. This prevents race conditions when multiple edit monitor instance are starting. Test: atest daemon_manager_test bug: 382135550 Change-Id: Ia8bd2f35318ae81fc002ccce62e2fde3b8cae26b
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions