Threading realizing and threading state transition method for embedded SRAM operating system

An operating system and state transition technology, applied in the direction of program startup/switching, multi-program device, etc., can solve problems such as difficult to reflect efficiency

Inactive Publication Date: 2006-08-30
ZHEJIANG UNIV
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the C/S structure, those server processes that require frequent input and output

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
  • Threading realizing and threading state transition method for embedded SRAM operating system
  • Threading realizing and threading state transition method for embedded SRAM operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0063] A kind of embedded SRAM operating system process realization and the method for process state conversion, its specific implementation method is as follows:

[0064] 1) Thread state definition

[0065] A process is composed of threads, which is an execution path in the process. Each process is allowed to contain multiple parallel execution paths, which is multi-threading. Thread is the basic unit of processor scheduling by the system. All threads in the same process share the main memory space and resources obtained by the process. A thread has:

[0066] ●Creation state: corresponds to the state in which the thread has just been created and entered into the SRAM;

[0067] ●Running state: the thread occupies the processor and is running;

[0068] ●Ready state: the thread is located in SRAM, has the running conditions, and waits for the system to allocate a proc...

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 threads and switching thread states for an embedded SRAM operating system, for the operating system is located in the SRAM, and the resources are limited, using the thread as the foundation of controlling the operating system, where a process is composed of threads, each of which is an executing path in the process, and each process is allowed to comprise plural parallel executing paths, namely multithreading. And the thread is a basic unit for the system to make processor control, and all threads in the same process share main memory space and resources obtained by the process, and the thread has seven different states and can make high-efficiency switching between states, and fully use the characters of SRAM and having special significance in processing system resources by embedded SRAM operating system.

Description

technical field [0001] The invention relates to the technical field of thread realization and thread state switching in an embedded operating system, in particular to a method for thread realization and thread state switching of an embedded SRAM operating system. Background technique [0002] In a traditional operating system, a process is the unit for resource allocation by the system, such as the virtual address space allocated to store its image, the main memory space required for execution, and other resources required to complete tasks, I / O CH , I / O DV and files. At the same time, a process is also an independent unit of processor scheduling. A process has only one execution control flow at any time. We call a process with this structure a single-threaded process (SingleThreaded Process). This single-thread structure process can no longer adapt to the rapid development of today's computer technology. [0003] The early computer system was a machine based on the sequen...

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): G06F9/48
Inventor 陈天洲胡威沙峰连毅
Owner ZHEJIANG UNIV
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