Event responding method and device
An event response and event technology, which is applied to multi-program devices, special data processing applications, program startup/switching, etc., can solve the problems of slowness and time-consuming response of the event response mechanism, and achieve the effect of improving response efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0022] Please refer to figure 1 , which shows a method flowchart of an event response method provided by an embodiment of the present invention, and this embodiment is illustrated by taking the event response method applied to a browser running in a multi-threaded environment. The incident response method may include the following steps:
[0023] In step 102, the event object corresponding to the user operation is obtained through the UI thread.
[0024] In step 104, it is detected through the UI thread whether the event object needs to be passed to the kernel thread.
[0025] Step 106, if the detection result is that the event object does not need to be delivered to the kernel thread, respond to the event object through the UI threa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 