diff options
| author | 2021-09-15 12:56:10 +0000 | |
|---|---|---|
| committer | 2021-10-14 18:59:42 +0000 | |
| commit | 268458c09e3d82210b9dc298b1b95055d5d808df (patch) | |
| tree | e86ccd80d3611aad880daa6b95c4d07ccd6d83e0 /vulkan/libvulkan/api.cpp | |
| parent | d8b3d5f05695af40955c2d3e1d40c51db437f977 (diff) | |
binder_rs: add OwnedParcel
This adds a new binder::OwnedParcel type that exclusively
contains an owned parcel, and implements Send so it
can be sent between threads. Parcel cannot implement Send
because Parcel::Borrowed could point to thread-local
C++ values, e.g., a Parcel stored on the stack.
This change is a prerequisite for both async and
thread-safe ParcelableHolder.
Bug: 200676345
Test: atest aidl_integration_test
Change-Id: I1a7b965d26cb5350576450debd7d058a6451b1f0
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions