Unlock instant, AI-driven research and patent intelligence for your innovation.

Thread pool management method and device

A thread management and management method technology, applied in the field of thread pool management methods and devices, can solve problems such as waste of time and resources, and achieve the effects of reducing time complexity, improving system performance, and reducing system overhead

Inactive Publication Date: 2018-05-08
BEIJING UNION VOOLE TECH
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a thread pool management method and device to solve the problem of wasting time and resources in the prior art

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 pool management method and device
  • Thread pool management method and device
  • Thread pool management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0080] Embodiments of the present invention provide a thread pool management method and device, which are used to solve the problem of storing the thread pool in the memory through a linked list storage method in the prior art. Therefore, when a thread object needs to be searched, it is necessary to traverse the All thread objects, resulting in a waste of time resources. Wherein, the method and the device are based on the same inventive...

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 thread pool management method and device which are used for solving the problems that in the prior art, the system cost is large and time resources are wasted. The thread pool management method comprises the step that after one task is executed by a thread, whether the length of a task queue is larger than zero or not is determined, wherein the task queue is used for storing tasks which are received by an allocation manager and meet the following characteristics that the thread executing the tasks fails when the distribution manager receives the tasks, and when the thread confirms that the length of the task queue is larger than zero, the task at the head of the task queue is extracted and executed.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a thread pool management method and device. Background technique [0002] Multithreading technology mainly solves the problem of multiple threads executing tasks in the processor unit. The use of multithreading technology can significantly reduce the idle time of the processor unit and increase the throughput of the processor unit. [0003] At present, multi-threading technology adopts the method of building a thread pool. When the thread pool receives a task, it is put into the task queue uniformly, and then an independent thread in the linear pool assigns tasks to each other thread in the thread pool, which increases the system overhead. , also wasting time resources. Contents of the invention [0004] Embodiments of the present invention provide a thread pool management method and device to solve the problem of wasting time and resources in the prior art. [0...

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/48G06F9/50
CPCG06F9/4881G06F9/5038G06F2209/484G06F2209/5021
Inventor 蒋雨含蒋剑峰
Owner BEIJING UNION VOOLE TECH