Unlock instant, AI-driven research and patent intelligence for your innovation.

Multithreading design method

A design method and multi-threading technology, applied in the directions of multi-program device, program start/switch, concurrent instruction execution, etc., can solve complex problems and achieve the effect of ensuring correctness and simple structure

Inactive Publication Date: 2017-01-04
张远虎
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

We all know that multi-threading has many advantages in multi-core systems, but because the processor was only single-core many years ago, and the design of multi-threaded software products is more complicated, most products, including the latest UEFI BIOS, are single-threaded

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The multi-thread service library of the present invention is realized through the standard uEFI protocol established after the EFI driver is loaded in the DXE stage. Since the standard EDK [5] There is no driver for creating these service programs, so the EFI driver for building multi-threaded services must first be developed. The bottom layer is the real hardware platform, which is the physical multi-core CPU. It is a real physical device, not abstracted by any software. Based on the uEFI protocol, the scheduling, creation, cancellation, and synchronization of thread services are realized.

[0013] The multi-thread design method of the present invention comprises the following steps:

[0014] Step 1, the state machine design of the thread, the thread can work normally under the coordination of the scheduler, the state switching of the thread is as follows: after the thread is created, the thread becomes the default state; then it will be inserted by the function of ...

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 multithreading design method, which comprises the following steps of: 1) carrying out the state machine design of threading; 2) carrying out the state machine design of a hardware processor; and designing a scheduler. The multithreading design method has a simple structure, and the multithreading is realized.

Description

technical field [0001] The invention relates to a design method, in particular to a multi-thread design method. Background technique [0002] BIOS (Basic Input Output System) is the first program run by the computer. This program saves the detailed hardware information of the computer and is responsible for initializing the computer hardware, detecting hardware functions and guiding the operating system. In 2000, Intel Corporation invented the Extensible Firmware Interface (Extensible Firmware Interface, EFI) to standardize the development of BIOS, and it is used to standardize the suggested standards of PC firmware architecture, interfaces and services. After that, many well-known companies in the industry formulated a new international standard UEFI specification, and the BIOS based on the UEFI specification is also called UEFI BIOS. We all know that multi-threading has many advantages in multi-core systems, but because the processor was only single-core many years ago, a...

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/48G06F9/38
Inventor 张远虎相明琼郭利敏王金耀邓家营郝朝磊赵中辉魏媛
Owner 张远虎