commit | 1580234359aa5c4f8845cb68b7140c0d8b4aad7b | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser@codeaurora.org> | Wed Dec 09 10:47:15 2020 -0700 |
committer | Nasser Grainawi <nasser@codeaurora.org> | Fri Dec 11 11:13:33 2020 -0700 |
tree | 56ae47b0f5c5ff4786b8d8fabada87abfaaf39a8 | |
parent | faea0393bccaa8fb836e762edf02a54502c93a71 [diff] |
Prevent concurrent event replaying If the events distributor is enabled and startup events replaying takes longer than the distributor delay, the two threads will be replaying events concurrently. Use an AtomicBoolean to ensure only one runs at a time. Change-Id: Idce111dfb54a88ab6ace0f52e70b61a711395855