commit | cd39d81fe1adaf41ea52b3239e0469f960ea4711 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Wed Jul 05 09:42:37 2023 +0000 |
committer | Paul Hu <paulhu@google.com> | Mon Jul 10 05:45:37 2023 +0000 |
tree | 7e253af6bbc1ee8496fce6b428e1eb76eb5e8523 | |
parent | d5b24b48551679f625fb03977d5c3868a10b9c88 [diff] |
Use a delayed message to schedule the query task To reduce the multi-thread access to MdnsServiceTypeClient, the query task scheduling should be replaced with a delayed message. This will allow the synchronized lock to be removed in future changes. Bug: 265787401 Test: atest FrameworksNetTests Change-Id: I340fe1a407947be860cdcd9c7c76829417a32e4c