A method and device for controlling the life cycle of a process
A technology for controlling process and life cycle, applied in multi-program device, program startup/switching, etc., can solve the problems affecting the efficiency of the main process and the failure of sub-processes to exit normally, and achieve the effect of improving efficiency and saving startup time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] An embodiment of the present invention provides a method for controlling the life cycle of a process. The method includes: starting a parent process; when it is detected that the starting condition of the child process is met, the parent process starts to start the child process; when it is detected that the exit condition of the child process is met Or when receiving the exit message sent by the parent process, the child process exits. The embodiment of the present invention also provides a corresponding device for controlling the lifetime of a process. Each will be described in detail below.
[0023] The method for controlling the life cycle of a process in the embodiment of the present invention can be applied to terminal applications, such as QQ browser, etc., and its basic flow can be referred to figure 1 , mainly including steps S101 to S103:
[0024] S101, start a parent process.
[0025] The so-called parent process is a user interface (UI) process, and its m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


