An Inter-Process Communication (IPC) message queues sample code listed in this article to show you how to work around it.
本文中列出的一个进程间通信(Inter - Process Communication, IPC)消息队列示例代码将向您展示如何来解决此问题。
Android provides all the code to perform these IPC transactions, so you can focus on defining and implementing the RPC programming interface.
Android提供了执行IPC事务所需的全部代码,因此只要把注意力放在定义和实现RPC编程接口上即可。
Since tasks consisted of multiple threads, and it was the code in the threads that used the IPC mechanism, Mach was able to freeze and unfreeze threads while the message was handled.
因为任务由多个线程组成,使用IPC机制的代码又被放在线程内部,所以Mach可在消息处理前后冻结和解冻线程。
应用推荐