bf36baa0e3 | ||
---|---|---|
.. | ||
frameworks | ||
interfaces/kits | ||
BUILD.gn | ||
LICENSE | ||
README.md | ||
README_zh.md |
README.md
LiteIPC
Introduction
LiteIPC is a lite module for inter-process communication IPC
. It provides IPC capabilities for the system service framework and is implemented in both the kernel space and user space. In the kernel space, LiteIPC provides functionalities such as inter-process message sending and receiving, IPC memory management, timeout notification, and death notification. In the user space, LiteIPC provides marshalling and unmarshalling capabilities and distributes IPC callback messages and death messages.
Directory Structure
/foundation/communication/ipc_lite
├── frameworks # Framework code
│ └── liteipc
│ ├── include # Header files
│ ├── src # Source code
├── interfaces # APIs
│ └── kits # IPC, marshalling, and unmarshalling APIs
Usage
LiteIPC provides the IPC, marshalling, and unmarshalling capabilities. The IPC capability is encapsulated by the samgr_lite module. You can use the service-related APIs provided by samgr_lite and the marshalling and unmarshalling APIs provided by LiteIPC to invoke services across processes. For details about how to develop, register, obtain, and invoke services, see the samgr_lite repository.
Repositories Involved
Intelligent Soft Bus subsystem
communication_ipc_lite