ChildProcess
Overview
The module provides APIs to manage child processes. You can call the APIs to create a native child process and establish an IPC channel between the parent and child processes to implement multi-process application development.
The created child process does not support the UI or the calling of context-related APIs. A maximum of 512 child processes can be started through this module and childProcessManager (in non-SELF_FORK mode).
System capability: SystemCapability.Ability.AbilityRuntime.Core
Since: 12
Files
| Name | Description |
|---|---|
| native_child_process.h | Declares the APIs used to create a native child process and establish an IPC channel between the main process and child process. File to include: <AbilityKit/native_child_process.h> Library: libchild_process.so |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apis-app-ability-appServiceExtensionAbility
openharmony 鸿蒙 js-apis-inner-wantAgent-triggerInfo-sys
openharmony 鸿蒙 js-apis-inner-wantAgent-wantAgentInfo-sys
openharmony 鸿蒙 js-apis-appControl-sys
openharmony 鸿蒙 js-apis-app-ability-environmentCallback
openharmony 鸿蒙 js-apis-inner-application-missionInfo-sys
openharmony 鸿蒙 js-apis-bundleManager-sharedBundleInfo-sys
openharmony 鸿蒙 js-apis-inner-application-continueMissionInfo-sys
openharmony 鸿蒙 js-apis-inner-application-appServiceExtensionContext
openharmony 鸿蒙 js-apis-bundleManager-businessAbilityInfo-sys