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

Thread processing method and system

A thread processing and thread technology, applied in the direction of electrical digital data processing, program control design, multi-program device, etc., can solve the problem of not being able to identify threads

Active Publication Date: 2016-08-31
ONEPLUS TECH SHENZHEN
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing thread processing technology only does some basic calculations, or performs some inter-thread / process communication, and cannot identify the thread corresponding to the execution of a specific task

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 processing method and system
  • Thread processing method and system
  • Thread processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In one embodiment, such as figure 1 As shown, a thread processing method is proposed. The method includes the following steps:

[0030] Step 102, acquiring information about storage resources used by a running thread.

[0031] A thread (thread), sometimes called a lightweight process (Lightweight Process, LWP), is the smallest unit of program execution flow. A standard thread consists of thread ID, current instruction pointer (PC), register set and stack. In addition, a thread is an entity in a process, and it is the basic unit independently scheduled and dispatched by the system. The thread itself does not own system resources, but only a few resources that are necessary for running, but it can communicate with other threads belonging to the same process. Share all resources owned by the process. One thread can create and cancel another thread, and multiple threads in the same process can execute concurrently. Due to the mutual restriction between threads, the thr...

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 relates to a thread processing method and system. The thread processing method comprises the following steps: obtaining information of storage resources used by a thread in an operation state; analyzing the information of the storage resources to obtain an analysis result; and determining that the thread in the operation state is the thread which performs a preset task when a preset sign exists in the analysis result. The thread processing method and system can precisely identify the corresponding thread which performs the preset task / function.

Description

technical field [0001] The invention relates to the technical field of processors, in particular to a thread processing method and system. Background technique [0002] In some fields, such as the field of mobile intelligent communication terminals, when an application program is executed, an application process is divided into multiple threads, and each thread is responsible for a different task. Existing thread processing technologies only do some basic calculations, or perform some inter-thread / process communication, and cannot identify the corresponding thread for performing a specific task. These specific tasks include, for example, drawing pictures, playing sounds, responding to feedback, and other tasks that have a great impact on user experience. Contents of the invention [0003] Based on this, it is necessary to provide a thread processing method and system for the above technical problem, which can identify the thread corresponding to the execution of the prede...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4806
Inventor 陈奂彣张文彦
Owner ONEPLUS TECH SHENZHEN