Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for realizing real time threads state monitoring in multiple thread system

A real-time monitoring and multi-threading technology, applied in the direction of multi-programming devices, etc., can solve problems such as unretrieved public documents, and achieve the effects of easy implementation, simple protocol, and clear structure

Inactive Publication Date: 2005-04-13
ZTE CORP
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Currently, there is no published literature that discusses and solves 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
  • Method for realizing real time threads state monitoring in multiple thread system
  • Method for realizing real time threads state monitoring in multiple thread system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] First of all, two types of threads need to be determined in a multi-threaded system, one is the monitoring thread, and the other is the monitored thread. The monitoring thread and the monitored thread can use any thread in the system. The main task of the monitoring thread is to regularly contact the monitored thread, obtain the status of all the monitored threads and listen to the reported news of the monitored thread. Generally, the main control thread is used as the monitoring thread, and a thread can also be used as a full-time monitoring thread or use Any other thread in the task acts as a monitoring thread. The monitored thread is generally a worker thread in a multi-threaded system.

[0021] Roll call means that the monitoring thread actively sends a message to the monitored thread, and obtains the status of the monitored thread through the message re...

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 provides a method for realizing real time threads state monitoring in multiple thread system which comprises, setting one thread in a multiple thread system as a monitoring thread, the others being monitored threads, wherein the monitoring thread is used for contacting each monitored threads to know their operating modes, each monitored thread responding the message from the monitoring thread, and feeding back the working condition and other information of itself, the monitoring thread maintaining the thread status information chart, and the system employing different strategy according to the status of each thread.

Description

technical field [0001] The invention relates to multi-thread technology in the field of computers, in particular to a method for realizing real-time monitoring of each thread state in a multi-thread system. Background technique [0002] With the development of science and technology, in the development process of large-scale systems, it is often necessary to use multi-threading technology. In a complex multithreaded system, multiple threads need to work together, which is a relatively difficult task. The workload of coordinating the work of each thread occupies a considerable proportion in the workload of the whole system, and the algorithm is more complicated. Since any abnormal situation may occur during the operation of the system, if a thread is deadlocked or an exception occurs, but the main control thread does not know it, but still schedules tasks for the thread at regular intervals, it is easy to cause the task buffer to overflow, which in turn leads to Business fa...

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/46
Inventor 彭军胡静波陈继华
Owner ZTE CORP
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
Eureka Blog
Learn More
PatSnap group products