Method and system for compiling multi-thread program

A multi-threading and threading technology, applied in multi-programming devices, creating/generating source code, transaction processing, etc., can solve problems such as high requirements for developers, high difficulty in multi-threaded programming, and difficulty in switching between multi-threaded software, to achieve The effect of improving execution efficiency and simplifying programming work

Inactive Publication Date: 2018-07-24
北京国睿中数科技股份有限公司 +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The execution speed of multi-module software can be accelerated by using multi-threaded programming, but due to the difficulty of multi-threaded programming and high requirements for developers, it is difficult for software to switch to multi-threaded

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for compiling multi-thread program
  • Method and system for compiling multi-thread program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0021] These and other aspects of embodiments of the invention will become apparent with reference to the following description and drawings. In these descriptions and drawings, some specific implementations of the embodiments of the present invention are specifically disclosed to represent some ways of implementing the principles of the embodiments of the present invention, but it should be understood that the scope of the embodiments of the present invention is not limited by this limit. On the contrary, the embodiments of the present...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and system for compiling a multi-thread program. The method for compiling the multi-thread program includes the steps that multiple variables to be called and multiplefunctions to be called are provided, wherein each function to be called includes a first function body and a second function body, the first function bodies are used for receiving the variables to becalled to execute single-thread operation, and the second function bodies are used for initializing and calling the first function bodies; through the functions to be called and the variables to be called, multi-thread compiling is performed on the program. The method and system have the advantages that the work of multi-thread program compiling can be simplified, and the execution efficiency ofprogram-compiling software can be improved.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a multi-thread program writing method and a program writing system. Background technique [0002] Although many softwares currently adopt programming methods based on modular development, they are still single-threaded. As the scale of the software increases and the number of modules increases, the execution speed of the software decreases accordingly. The execution speed of multi-module software can be accelerated by using multi-threaded programming, but due to the difficulty of multi-threaded programming and high requirements for developers, it is difficult for software to switch to multi-threaded. Contents of the invention [0003] The present invention aims to solve at least one of the above-mentioned technical problems. [0004] Therefore, the first object of the present invention is to propose a multi-thread programming method, which can simplify the multi-...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/30G06F9/46
CPCG06F8/30G06F9/466
Inventor 张东雪
Owner 北京国睿中数科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products