diff --git a/en/application-dev/ability/fa-brief.md b/en/application-dev/ability/fa-brief.md index db7346a6f4723cdf5589a8e5671944d95ea3878f..670c741d84218a261df7fa09d88e42c9b69a693f 100644 --- a/en/application-dev/ability/fa-brief.md +++ b/en/application-dev/ability/fa-brief.md @@ -32,4 +32,4 @@ Currently, the **app.js** file provides only the **onCreate** and **onDestroy** ## Process and Thread Model An application exclusively uses an independent process, and an ability exclusively uses an independent thread. An application process is created when an ability is started for the first time, and a thread is created for this ability too. After the application is started, other abilities in the application are started, and a thread is created for every of these started abilities. Each ability is bound to an independent JSRuntime instance. Therefore, abilities are isolated from each other. -![fa-threading-nodel](figures/fa-threading-model.png) +![fa-threading-model](figures/fa-threading-model.png) diff --git a/zh-cn/application-dev/ability/fa-brief.md b/zh-cn/application-dev/ability/fa-brief.md index ce267cfb4de1c8bb2ff2d680213835a7cf5a851e..abf0fbccff62d597f714d5ae03c6b11674e665b5 100644 --- a/zh-cn/application-dev/ability/fa-brief.md +++ b/zh-cn/application-dev/ability/fa-brief.md @@ -25,12 +25,12 @@ Ability框架在API 8及更早版本使用FA模型。FA模型中Ability分为Pag ## 进程线程模型 应用独享独立进程,Ability独享独立线程,应用进程在Ability第一次启动时创建,并为启动的Ability创建线程,应用启动后再启动应用内其他Ability,会为每一个Ability创建相应的线程。每个Ability绑定一个独立的JSRuntime实例,因此Ability之间是隔离的。 -![fa-threading-nodel](figures/fa-threading-model.png) +![fa-threading-model](figures/fa-threading-model.png) ## 相关实例 针对Ability开发,有以下相关实例可供参考: - [`DistributeCalc`:分布式计算器(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/Preset/DistributeCalc) -- [`DistributeGraffti`:分布式涂鸦(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DistributedGraffiti) +- [`DistributeGraffiti`:分布式涂鸦(eTS)(API8)](https://gitee.com/openharmony/app_samples/tree/master/ability/DistributedGraffiti) - [分布式调度启动远程FA](https://gitee.com/openharmony/codelabs/tree/master/Distributed/RemoteStartFA) - [分布式新闻客户端](https://gitee.com/openharmony/codelabs/tree/master/Distributed/NewsDemo)