Semaphore system based on process events

A technology for sharing resources and resources, applied to multi-program devices, instruments, program synchronization, etc., can solve problems such as ineffective solutions

Inactive Publication Date: 2009-01-07
INTEL CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this workaround is not very efficient when the number of resources becomes large

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
  • Semaphore system based on process events
  • Semaphore system based on process events
  • Semaphore system based on process events

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] One aspect of the invention is a method for a fairness-based semaphore system for managing access to shared system resources. The method includes making a request for a resource and then determining whether the resource is being requested by another process, or whether the resource is locked by another process. If the resource is being requested by another process, the resource is given to the process with higher priority. If the resource is locked by another process, the process is not authorized to access the resource.

[0026] In various variations and different embodiments, the semaphore system may include and use any combination of timer elements and global arbiters with global priority modules.

[0027] The present invention includes various operations that will be described below. The operations of the present invention may be performed by hardware components or may be embodied in machine-executable instructions for a general or special purpose processor or log...

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

A method and apparatus are described for a semaphore system based on process events. The system may have multiple processes; one or more shared resources; and a semaphore system corresponding to each of the processes. When multiple processes simultaneously request access to a given shared resource, each semaphore system arbitrates on behalf of its corresponding process. In one embodiment, a semaphore system is self-contained and can arbitrate for its corresponding process based on the other process's events. In another embodiment, the semaphore system interacts with a global arbiter to resolve conflicts.

Description

technical field [0001] The present invention relates generally to parallel processes and, more particularly, to semaphores for managing access to shared system resources. Background technique [0002] Systems that perform parallel processing include multiple processes executing simultaneously. A common problem when using parallel processing is protecting the contents of common resources. [0003] One well-known way to achieve this protection is to use semaphores, which are generally hardware or software flags. In a multitasking system, a semaphore is a variable that indicates the state of a common resource. Semaphores are used to lock resources that are being used. Processes requiring the resource check the semaphore to determine the state of the resource and then decide how to proceed. A semaphore indicates to other potential users that a file or other resource is in use and prevents access by more than one process. [0004] However, problems such as starvation and / or ...

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 Patents(China)
IPC IPC(8): G06F9/46G06F13/36
CPCG06F9/52
Inventor 米卡埃尔·莫腾森雷内·拉森
Owner INTEL CORP
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