Skip to content
Snippets Groups Projects
Commit 169bb8f0 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: test Bp destruction

When sending a binder to another process, there are two things that
delay the destruction:
- there is a separate queue, flushed with 'flushCommands' that must be
emptied in the remote process
- the client thread must process the refcount loss asynchronously

This CL works around both of these problems by explicitly flushing
commands and waiting for the thread to process the refcount.

Bug: 148287051
Test: libbinder_ndk_unit_test
Change-Id: I2687b429faae659d80406f0b418c96a1eb40e9bd
parent 56a1e4fc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment