commit | 8d672e0412c1e98f7b30abb5481f3356fd1aa05d | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri Sep 15 18:19:28 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Sep 20 10:22:48 2023 -0700 |
tree | 40fdae10b75ff54835a167c378532efb7c674001 | |
parent | 9c74a8333d5ac7d73d16866455967b2a419487f5 [diff] |
Thread: Add ThreadBase_ThreadLoop capability A virtual mutex to guard methods and variables that only run on the single thread threadLoop(). Some additional thread-safety annotations are added. Test: atest AudioTrackTest AudioRecordTest Test: atest AAudioTests AudioTrackOffloadTest Test: atest AudioPlaybackCaptureTest Test: Camera YouTube Bug: 275748373 Change-Id: I6fb87cc8d362c5ddd928563f193fd43f0d02a04c