System capable of monitoring multithread state and monitoring method thereof

A multi-threading and threading technology, applied in multi-programming devices, instruments, electrical digital data processing, etc., can solve the problems of complicated methods, inability to know the problem, resource consumption, etc., and achieve the effect of simple and easy methods

Inactive Publication Date: 2009-06-17
HUANDA COMPUTER (SHANGHAI) CO LTD +1
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The shortcoming of the above-mentioned prior art is that this method does not monitor the monitoring thread 11, if the monitoring thread 11 itself is abnormal, then it is impossible to know the problem
In addition, this method needs to consume some resources to maintain a monitoring thread 11 and an information table containing the status of each thread, which is complicated and difficult to maintain

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
  • System capable of monitoring multithread state and monitoring method thereof
  • System capable of monitoring multithread state and monitoring method thereof
  • System capable of monitoring multithread state and monitoring method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and easy to understand, the system and its monitoring method for monitoring multi-thread status according to the present invention will specifically cite preferred embodiments and cooperate with the attached related diagrams to make The detailed description is as follows, wherein the same components will be described with the same component symbols.

[0019] see figure 2 , showing a schematic diagram of the system capable of monitoring multi-thread status of the present invention. In the figure, this system 21 is used to monitor multiple threads 22 operating under an operating system 23 (such as Linux or Windows), and the refresh frequencies of these threads 22 are sorted from large to small or from small to large, and a first A thread 221 has a maximum refresh rate 2211 among the refresh rates of the threads 22 . In addition, the system 21 includes at least a ...

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 system capable of monitoring multithread state and monitoring method thereof, the system includes a timing unit for generating a counting value and a monitoring unit for monitoring refreshing operations performed by a first thread and other threads. The method comprises: generating a counting value by the timing unit; monitoring refreshing operations performed by a first thread and other threads by the monitoring unit; when the first thread performs the refreshing operation, if one of the refreshing times of other threads is not reached to a specific requirement, so that the monitoring unit performs a reset operation for the operating system, if the refreshing times of the other threads are reached to the specific requirement, so that the first thread updates one of the first refreshing times and performs the refreshing operation for the timing unit to recount the counting value; when the other threads perform the refreshing operation, the other threads update the refreshing times, thereby the monitoring thread and an information list can be maintained without consuming resources, and all threads can be easily monitored, the operation is simple.

Description

【Technical field】 [0001] The invention provides a system capable of monitoring the state of multi-threads and a monitoring method thereof, especially relates to the technical field of using a watch dog timer to monitor multiple threads. 【Background technique】 [0002] In modern electronic devices or information systems, operating systems (such as Linux or Windows) often need to process many important tasks at the same time, and these tasks are often divided and completed through multiple threads (Thread). If there is a problem with one of these threads, for example: the resources of the operating system are all occupied or locked by a single thread (Lock), making other threads unusable, the thread is in an endless loop state and has not responded for a long time, or it is caused by a hardware problem. Threads cannot be executed smoothly... etc., will cause the operating system to fail to operate normally or even crash. If there is no one to monitor and deal with it immediate...

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): G06F11/00G06F9/46
Inventor臧东明
OwnerHUANDA COMPUTER (SHANGHAI) CO LTD