android IPC: AIDL thread is not blocked.
AIDL线程是不被阻塞的
Using AIDL is necessary only if you allow clients from different applications to access your service for IPC and want to handle multithreading in your service.
使用AIDL是必要的(你允许来自不同应用程序的客户端访问你的服务的通过IPC机制,而且在你的服务端想去处理多线程)
If you do not need to perform concurrent IPC across different applications, you should create your interface by implementing a Binder or, if you want to perform IPC, but do not need to handle multithreading, implement your interface using a Messenger. Regardless, be sure that you understand Bound Services before implementing an AIDL.
When used, a remote call does not block; it simply sends the transaction data and immediately returns.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。