diff options
author | Tej Singh <singhtejinder@google.com> | 2020-04-11 03:39:12 -0700 |
---|---|---|
committer | Tej Singh <singhtejinder@google.com> | 2020-04-14 16:50:12 -0700 |
commit | 769f35fc0fedc21730a76608ad94050a6c6eb533 (patch) | |
tree | 63f9a1d07a74fb8051b1d6c1bb2971da126cc73a /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1dcd8f4116397e8edc82bd77434533211efcae39 (diff) |
Add NamedLatch to statsd
This is a sychronizing primitive that is similar to a latch, but a
thread must count down with an identifier. It will be used to make sure
the boot complete, uid map, and all pullers signals are received before
triggering the bucket split.
The latch's countDown operation takes in a string identifier, so that if
the same operation happens twice, it is only counted once.
Bug: 144099206
Test: atest statsd_test
Change-Id: I261a3e50eabbc4998ca30ddf2d67a9a1e788911e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions