Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Thread management method and device, computer storage medium and application software

A technology of application software and thread management, applied in the computer field, to achieve the effect of ensuring concurrent execution

Pending Publication Date: 2021-12-24
ALIBABA GRP HLDG LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, an embodiment of the present invention provides a thread management method, device, computer storage medium and application software to solve or alleviate the above problems

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
  • Thread management method and device, computer storage medium and application software
  • Thread management method and device, computer storage medium and application software
  • Thread management method and device, computer storage medium and application software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the embodiments of the present invention shall fall within the protection scope of the embodiments of the present invention.

[0019] The specific implementation of the embodiments of the present invention will be further described below in conjunction with the accompanying drawings of the embodiments of the present invention.

[0020] Figure 1A It is a schematic flowchart of a thread load balancing method according...

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 embodiment of the invention provides a thread management method and device, a computer storage medium and application software. The thread management method comprises the steps that a main thread monitors time consumed by a first thread executing a main task to execute the main task; and when the main thread monitors that the consumed time exceeds a preset first consumed time threshold value, a second thread meeting a pause condition in the second threads executing the secondary task stops until the monitored consumed time is lower than a preset second consumed time threshold value, and thus recovering the paused second thread, wherein the primary task and the secondary task are tasks of the same application software, and the first time consumption threshold value is greater than the second time consumption threshold value. And when the resource demand of the first thread is more, part of the second thread is suspended, so that the resource demand of the first thread is ensured. And when the demand of the first thread is less, the concurrent execution of the first thread and the second thread is ensured.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a thread management method, device, computer storage medium and application software. Background technique [0002] Generally, when an application program is running on a terminal device, the application program schedules hardware resources such as a central processing unit and a graphics processing unit via an operating system. For example, an embedded operating system provides developers with a development interface for scheduling hardware resources. Based on such an interface, developers can configure multiple threads of parallel execution for the application, providing richer functions for the application. [0003] However, in the case of limited hardware resources, concurrent execution of multiple threads will cause problems for resource load balancing. Contents of the invention [0004] In view of this, embodiments of the present inventio...

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): G06F9/50
CPCG06F9/505G06F9/5044
Inventor 吴朝良
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products