College students are too boring at home during winter vacation. Sort out the knowledge they have learned before and review it by the way. The level is low and the professionalism is poor. It's only for reference. Don't spray it if you don't like it (no one sees it anyway). It's almost unsealed. Wuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwuwu ...
Posted by mydimension on Wed, 02 Mar 2022 12:52:42 +0100
1, Ashmem C language interface
You can usually use ashmem in the libcutils library_ create_ The region function creates a shared memory area:
#define ASHMEM_DEVICE "/dev/ashmem"
* ashmem_create_region - creates a new ashmem region and returns the file
* descriptor, or <0 on error
* `name' is an optional label to give the region (vi ...
Posted by neoboffins on Mon, 07 Feb 2022 20:51:24 +0100
Shared memory allows two unrelated processes to access the same logical memory. It is a very effective way to transfer data between two running processes. Most of the specific implementations of shared memory arrange the memory shared by different processes into the same physical memory. Shared memory is a special address range created by I ...
Posted by FidelGonzales on Thu, 13 Jan 2022 12:27:20 +0100
Message queue is the connection table of messages, which is stored in the kernel. This example mainly realizes inter process communication in the way of message queue. After receiving the message, the receiving end immediately forwards it to the sending end; After sending a message, the sender immediately monitors the message fed back by the re ...
Posted by zako234 on Sat, 08 Jan 2022 10:03:17 +0100
AIDL (Android Interface Definition Language) is an IDL language, which is used to generate code for interprocess communication (IPC) between two processes on Android devices. Through AIDL, you can obtain the data of another process in one process and call its exposed methods, so as to meet the needs of inter process communication. Generally, th ...
Posted by allspiritseve on Fri, 07 Jan 2022 13:41:31 +0100
Communication between different hosts: ❤️
The concept of process communication originated from single machine system. Since each process runs within its own address range, the operating system provides corresponding facilities for process communication to ensure that two processes communicating with each other do not interfere with each o ...
Posted by tyson on Sat, 01 Jan 2022 13:38:37 +0100