Lines Matching refs:child

3 …rocessManager** module provides the child process management capability. Currently, it provides AP…
5 The created child process does not support the UI or the calling of context-related APIs.
7 A maximum of 512 child processes can be started through this module (non-SELF_FORK mode) and [Child…
23 Enumerates the child process start modes.
29 …| 0 | The child process is forked from the application process. Binder IPC cannot be called in …
30 | APP_SPAWN_FORK | 1 | The child process is forked from AppSpawn. Such a child process does not …
36 Creates a child process and invokes the entrypoint method of the child process. This API uses a pro…
38child process is created. However, this does not mean that the child process is started. It is sta…
46child process relative to the root directory **src/main**. The source file can be stored only in t…
47 | startMode | [StartMode](#startmode) | Yes| Start mode of the child process.|
53 | Promise<number> | Promise used to return the PID of the child process.|
64 | 16000062 | The number of child processes exceeds the upper limit. |
69 // Create the child process class DemoProcess.ets in src/main/ets/process of the entry module.
82 // Call childProcessManager.startChildProcess to start the child process.
105 Creates a child process and invokes the entrypoint method of the child process. This API uses an as…
107child process is created. However, this does not mean that the child process is started. It is sta…
115child process relative to the root directory **src/main**. The source file can be stored only in t…
116 | startMode | [StartMode](#startmode) | Yes| Start mode of the child process.|
117 …ocess is started, **err** is **undefined** and **data** is the PID of the child process. Otherwise…
128 | 16000062 | The number of child processes exceeds the upper limit. |
133 // Create the child process class DemoProcess.ets in src/main/ets/process of the entry module.
146 // Call childProcessManager.startChildProcess to start the child process.
170 Creates a child process and invokes the entrypoint method of the child process. This API uses a pro…
172child process does not inherit the resources of the parent process. A PID is returned once the chi…
174child process supports parameter transfer and asynchronous ArkTS API calls (except for some APIs t…
182child process relative to the root directory **src/main**. The source file cannot be stored in the…
183 …Args](js-apis-app-ability-childProcessArgs.md) | Yes| Parameters transferred to the child process.|
184 …ons](js-apis-app-ability-childProcessOptions.md) | No| Startup configuration of the child process.|
190 | Promise<number> | Promise used to return the PID of the child process.|
201 | 16000061 | Operation not supported. The API cannot be called in a child process. |
202 | 16000062 | The number of child processes exceeds the upper limit. |
206 Sample code for the child process:
209 // Create the child process class DemoProcess.ets in src/main/ets/process of module1.
227 // Call childProcessManager.startArkChildProcess to start the child process.
264 Starts a native child process, loads the specified dynamic library file, and calls the entry functi…
266child process does not inherit the resources of the main process. A PID is returned once the child
268 …entry function is executed, the child process is automatically destroyed. After the main process i…
276 …| The symbol and entry function of the dynamic link library called in the child process are separa…
277 …Args](js-apis-app-ability-childProcessArgs.md) | Yes| Parameters transferred to the child process.|
278 …ons](js-apis-app-ability-childProcessOptions.md) | No| Startup configuration of the child process.|
284 | Promise<number> | Promise used to return the PID of the child process.|
295 | 16000061 | Operation not supported. The API cannot be called in a child process. |
296 | 16000062 | The number of child processes exceeds the upper limit. |
300child process is provided below. For details, see [Native Child Process Development (C/C++) - Crea…
308 * Entry function of a child process, which implements the service logic of the child process.
310 * After the function is returned, the child process exits.
332 // Call childProcessManager.startNativeChildProcess to start the child process.