commit | a3131f2addfea1bfc28dfd2be50f4556d494ef37 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Thu Jun 29 22:50:31 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed Aug 02 17:58:59 2023 +0000 |
tree | 9e5ba528640aeceb065ab97b6b711546033e8e35 | |
parent | 050693eb852d4d709748efcf12ab9989ee9163be [diff] |
codec2_vndk: don't spin during sync variable locking/unlocking Removed spinning and sched_yield for the user-space locking section of lock/unlock and added comments to the code. TODO: remove the spinning code in unlock as it does not seem to be necessary. Bug: 287432155 (cherry picked from https://android-review.googlesource.com/q/commit:6c902ef92de5fa8ae4a1c12dd67e95ac5a8e5935) Merged-In: Ie283402b3177013f918e3facb287c23a13df0550 Change-Id: Ie283402b3177013f918e3facb287c23a13df0550