Supercharge Your Innovation With Domain-Expert AI Agents!

Techniques for setting events in a multi-threaded system

An event and thread technology, applied in setting event fields in a multi-threaded system, can solve problems such as degrading system performance

Inactive Publication Date: 2008-06-04
QUALCOMM INC
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

System performance may be degraded if threads are scheduled in an unnecessary order due to the order in which the events are set

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
  • Techniques for setting events in a multi-threaded system
  • Techniques for setting events in a multi-threaded system
  • Techniques for setting events in a multi-threaded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The word "exemplary" is used herein to mean "serving as an instance, instance, or illustration." Any embodiment or design termed "exemplary" herein is not necessarily to be construed as preferred or advantageous over other embodiments or designs.

[0021] FIG. 1 shows a diagram of an example multi-threaded system 100 in which the event setup techniques described herein may be employed. Threads 110x, 110y, and 110z are callable by applications (not shown in FIG. 1 ) and are to be scheduled and executed. A thread is a task to be performed by an entity (which can also be a thread). A thread can be associated with: (1) the software code to be executed for a task; and (2) state information for the task, such as registers, stacks, variables, and the like. At any given moment, a thread may be in any of a number of possible states (eg, "pending," "ready," and "active"). As used herein, a "pending" thread is a thread that waits for an event before it can be scheduled, a "read...

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

To set one or more events without intermediate scheduling of threads in a multi-threaded system, a scheduler is first rendered essentially ineffective. The events are then set, for example, by repeatedly calling a function to set a single event, once for each event to be set. The scheduler is then restored to its normal effectiveness. The scheduler may be rendered ineffective by artificially setting the priority of the current thread being processed to the highest possible priority level. This prevents the current thread from being preempted by another thread during the time that events are being set. After all events have been set, the priority of the current thread is restored to the original priority level, which then restores the scheduler to its normal effectiveness.

Description

technical field [0001] The present invention relates generally to computer processing, and more specifically to techniques for setting events in multi-threaded systems. Background technique [0002] An operating system is a common type of multithreaded system. An operating system manages various system resources (eg, hardware units, storage, interfaces, etc.) and provides services that allow applications running on the operating system to access the system resources. The operating system typically provides the service by invoking, scheduling, and processing threads as appropriate. Threads can be thought of as tasks to be performed. [0003] A real-time operating system is one type of operating system and is commonly used in many electronic devices, such as wireless devices (eg, cellular telephones), personal digital assistants (PDAs), and the like. A key feature of implementing an operating system is preemptive priority-based scheduling. This type of scheduling attempts ...

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
CPCG06F9/4806G06F9/46
Inventor 戴维·布拉克曼
Owner QUALCOMM INC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More