commit | 7493e05f88d945eab15de21937448506c66e5dcb | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Fri Nov 01 10:40:21 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Fri Nov 01 10:40:21 2024 -0700 |
tree | c7f0a64905730ac6f75b26d3f8749123f343f517 | |
parent | f355c0c681d0505a147e690cf8e58a497fa2d490 [diff] |
Fix audioflinger allocator concurrency The allocators for the backing pools are shared between clients, so they need to be locked. Add a locking allocator which locks on all accesses. Pull out some common logic into a helper in the factory. Test: compiles Fixes: 326429091 Bug: 326429091 Flag: EXEMPT bugfix Change-Id: I61eb0ede32f336265f6281c865e253f181f7ad89