Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

P- and V-semaphore operation

A signal manipulation and signal technology, applied in the field of P signals, to achieve the effect of reducing the amount of related traffic

Inactive Publication Date: 2005-02-23
NXP BV
View PDF1 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The signal corresponds to a counter where the V operation increments the counter and the P operation decrements the counter, but blocks when the counter is 0 and blocks until the counter becomes greater than 0

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
  • P- and V-semaphore operation
  • P- and V-semaphore operation
  • P- and V-semaphore operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the first embodiment, reading / writing from / to a FIFO buffer shared by at least two processes such as a reading process and a writing process is performed using a P signal operation in a computer system based on concurrent processing.

[0028] figure 1 Shows the counter 13 used as a decreasing signal (also in figure 1Shown in the block diagram of the P signal operation unit 10, the signal counter 13 is used to control access to the shared FIFO buffer (not shown). The signal counter 13 may be based on an available data unit in the FIFO buffer, ie a signal (data), or on the available storage space in said FIFO buffer, ie a signal (space). The P signal operation unit 10 includes a first receiving device 11 , a first blocking device 12 , a first comparing device 14 and a first output device 15 . The first receiving device 11 is connected to the first blocking device 12, which receives the state of the signal counter 13 as an input signal. The first blocking device 12 i...

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 V-operation not performed atomically for each data element or storage space that becomes available in a FIFO or a P-operation is not performed atomically for each request for a data element or a storage space in the FIFO but rather one V-operation is performed after m data elements or m storage spaces have become available in the FIFO or one P-operation is performed after m requests for data elements or m requests for storage spaces have been received. Upon using these P-operations, i.e. performing said request operations in bursts rather than atomically, cases may occur where less data elements or storage spaces are available in said FIFO buffer than needed or requested by a consumer process, e.g. a reading or a writing process. A P-operation is performed by requesting m data elements or m storage spaces for m data elements. The P-operation will only be blocked completely, if no data elements or storage spaces are available in the FIFO buffer, i.e. the semaphore counter being zero. However, if there are data elements or storage spaces available in the FIFO buffer, i.e. the semaphore counter is greater than zero, the value of the available data elements or storage spaces for data elements, i.e. the count of the semaphore counter, and the value m of the P- request operation are compared and the minimum value of said two values is selected. If there are more data elements or storage spaces available in said FIFO buffer than requested by said P-operation, the value m of the requested data elements or storage spaces for data elements is selected as the actual available decrement of said semaphore counter. However, if there are less data elements or storage spaces available in said FIFO buffer than requested by said P-operation, the value of the available data elements or storage spaces for data elements is selected as the actual available decrement dec. The actual decrement dec of said semaphore counter is finally output.

Description

technical field [0001] The present invention describes a P signal controlling access to a signal counter of a shared FIFO buffer; a reading method and a writing method for reading / writing a large amount of data units from / to a shared FIFO buffer; a method for reducing control access to a shared FIFO buffer The P signal operation unit of the signal counter; a device that reads a large number of data units from the shared FIFO buffer, and a device that writes a large number of data units to the shared FIFO buffer; a device that can be processed concurrently by a read task and a write task. A shared FIFO cache computer system and corresponding computer program product. Background technique [0002] In computer systems, processor coordination is an important issue. In a centralized system, semaphores are often used to solve multi-process coordination problems, such as mutual exclusion and managing reusable, and consuming resources. [0003] Mutual exclusion is an important iss...

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): G06F5/06G06F9/46
CPCG06F5/06G06F9/52
Inventor J·胡格布鲁格P·斯特拉维斯
Owner NXP BV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products