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
CN1585923AInactive Publication Date: 2005-02-23NXP BV

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
NXP BV
Publication Date
2005-02-23
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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