openharmony / communication_ipc_lite

Inter-process communication | 轻量级进程间通信IPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

communication_softbus_lite

communication_wifi_aware

About

Inter-process communication | 轻量级进程间通信IPC

License:Apache License 2.0


Languages

Language:C 100.0%