Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HarmonyOS
A thread is the basic unit for the operating system to perform computing and scheduling. It is an execution flow within a process and shares the resources of the process. A process can contain multiple threads.
There are three types of threads in the stage model:
Used for time-consuming operations and supports inter-thread communication.
For details about the operation mechanism, communication method, and usage of TaskPool and Worker, see Comparison Between TaskPool and Worker.

EventHub provides APIs for sending and processing events in threads, including subscribing to, unsubscribing from, and triggering events. Using EventHub for Data Synchronization describes the development procedure by using data synchronization between the UIAbility component and the UI as an example.
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.