Multi-thread creation system and method, and multi-thread processing system and method
A multi-threading and threading technology, applied in the computer field, can solve the problems of laborious programming and waiting for the main thread, and achieve the effect of improving flow, improving stability and improving user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0060] Such as figure 1 As shown, a multi-thread processing system includes a multi-thread creation system and a first thread message queue, a second thread message queue, a main thread, and a sub-thread created by the multi-thread creation system;
[0061] The interface module 1 is used to receive external operation instructions and transmit them to the window object module 2; also used to transmit the first processing result to the outside for display; and also used to transmit the second processing result to the outside for display;
[0062] The window object module 2 is used to judge the tasks required to be executed by the operation instructions. When it is judged that the tasks to be executed need to be processed in a thread, the corresponding main thread is extracted and transmitted to the thread message queue module 3, and the first processing result is generated Return to interface module 1;
[0063] The thread message queue module 3 is used to put the main thread into the f...
Embodiment 3
[0076] Such as figure 2 As shown, a multi-thread creation method includes the following steps:
[0077] Step A1. Receive an external form object instruction, generate a form object according to the form object instruction, and respectively generate a first thread message queue instruction, a second thread message queue instruction, a main thread instruction and a child thread creation instruction;
[0078] Step A2. Create the first thread message queue and the second thread message queue respectively according to the create first thread message queue instruction and create the second thread message queue instruction, and return the first creation success message; according to the create main thread instruction and create child threads The instruction creates the main thread and the child thread respectively, and returns the second creation success message;
[0079] Step A3. Output the form object according to the first creation success message and the second creation success message...
Embodiment 4
[0083] Such as image 3 As shown, a multi-threaded processing method includes the following steps:
[0084] Step B1. Receive an external operation instruction, judge the task required by the operation instruction, and when it is judged that the task to be executed needs to be processed in a thread, extract the corresponding main thread and transmit it to the first thread message queue, and generate the first processing result Transmit to the outside for display;
[0085] Step B2. Put the main thread into the first thread message queue for saving and sorting;
[0086] Step B3. Read the main thread in the message queue of the first thread, process through the main thread, call resources to perform the corresponding task, and return the second processing result when the task is completed and transmit it to the outside for display; after the task is completed, the main thread call is also cleared Get the resource and clear the window object.
[0087] Can make the main thread save the or...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com