Method and device for implementing computer multi-tasking via virtual threading

A computer and thread technology, applied in machine execution devices, multi-programming devices, program control devices, etc., can solve problems such as blocking, application program blocking immediately, and depending on

Inactive Publication Date: 2005-03-09
CATHARON PRODIONS
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] Unfortunately, if such an application must be multithreaded, the use of native multithreading capabilities immediately limits the platforms on which the application can run, and the application is immediately blocked when running on most MacOP (this operating system does not have threading capabilities) versions. And depending on how many simultaneous threads of execution the application requires, the application may also run on Windows 95 (up to about 150-200 threads) or on BeOS (up to 4096 threads per processor) or on other Blocked while running on the platform

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 and device for implementing computer multi-tasking via virtual threading
  • Method and device for implementing computer multi-tasking via virtual threading
  • Method and device for implementing computer multi-tasking via virtual threading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] As illustrated in FIG. 1, the computer system includes a processor 12, a keyboard 14, a display 16, and a memory 18. The processor 12 is connected to a remote computer 20 through a computer network (such as the Internet 22). Such as figure 2 As shown in , processor 12 includes an interpreter 24 that uses typical functions of conventional digital computer circuits that are modified by programming to perform multiple computer functions, including interpreting keyboard activity and controlling display 16 , and in particular to control the appearance of objects on the display in response to commands entered by the user via the keyboard 14, or in response to information received from the computer 20 on the Internet 22. Processor 12 also includes a compiler 26 (which may be part of interpreter 24 ) for converting artificial source code into bytecode or pseudocode stored in memory 18 .

[0066] Such as image 3 As shown in , the interpreter 24 includes a code execution unit ...

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

In the operation of a computer, a plurality of bytecode or pseudocode instructions, at least some of the pseudocode instructions comprising a plurality of machine code instructions, are stored in a computer memory. For each of a plurality of tasks or jobs to be performed by the computer, a respective virtual thread of execution context data is automatically created. The virtual threads each include (a) a memory location of a next one of the pseudocode instructions to be executed in carrying out the respective task or job and (b) the values of any local variables required for carrying out the respective task or job. At least some of the tasks or jobs each entails execution of a respective one of the pseudocode instructions comprising a plurality of machine language instructions. Each of the tasks or jobs are processed in a respective series of time slices or processing slots under the control of the respective virtual thread, and, in every context switch between different virtual threads, such context switch is undertaken only after completed execution of a currently executing one of the pseudocode instructions.

Description

technical field [0001] The present invention relates to a method for simultaneously executing multiple tasks on a computer and related devices. Background technique [0002] Most modern operating systems have native multitasking or multithreading capabilities, that is, multithreading capabilities built into the operating system, with the notable exception of versions of the Macintosh Operating System (MacOS) that predated OS X, which had little or no thread capability. Unfortunately, the multithreading capabilities provided vary depending on the operating system and hardware platform. Many platforms impose limits on the total number of threads that can exist concurrently, and some platforms cannot multithread at all. [0003] To properly understand the problems posed by threads in software and their solutions, one needs to understand both the general approach to multithreading and the specific approach used by most native platform threading systems. [0004] To perform mu...

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): G06FG06F9/54G06F9/38G06F9/44G06F9/45G06F9/455G06F9/46G06F9/48
CPCG06F9/45504G06F9/485G06F9/4881G06F9/461
Inventor 马修·A·范伯格
Owner CATHARON PRODIONS
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
Try Eureka
PatSnap group products