Patents
US 6,629,152 B2#753155 Most CitedExpiredUnited States (USPTO)Utility

Message passing using shared memory of a computer

56Forward Citations (#753155 Global)
2.4/yrCitation Velocity (#1389195 Global)
9.38Citation PageRank (#1180610 Global)
12Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A lock-free mechanism is provided for successfully passing messages between processes even if a process is preempted while sending or receiving a message. Messages are communicated between processes using a mailbox data structure stored in memory shared by the processes, without the use of locks or other mutual exclusion entities that would otherwise limit concurrent delivery and receipt of messages placed in the data structure. The data structure in the illustrative embodiment includes one or more message slots for storing messages placed in the data structure and a number of state variables for inserting messages into and removing messages from the message slots. A process sends or retrieves messages by manipulating the state variables using indivisible atomic operations. This ensures that a process cannot be preempted from message passing until it finishes executing the atomic instruction. The method and mechanism have particular value in distributed shared memory (DSM) and non-uniform memory access (NUMA) machines.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 56.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for communicating messages between processes via memory of a computer, the method comprising: providing a mailbox data structure for a second process in memory accessible to a first process and the second process, the data structure having one or more message slots for storing messages sent to the data structure, an availability indicator denoting a number of message slots that are at least partially filled and utilized to indicate if a message slot is available for receiving a message, a last message slot indicator denoting a last message slot that is at least partially filled and ut

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (12)

PatentTitleYearCitations
US 5,230,051 ADistributed messaging system and method199353
US 5,357,612 AMechanism for passing messages between several processors coupled through a shared intelligent memory1994122
US 5,434,975 ASystem for interconnecting a synchronous path having semaphores and an asynchronous path having message queuing for interprocess communications1995155
US 5,465,329 AMethod and apparatus for using intercepted operator messages to control robotics199513
US 5,513,328 AApparatus for inter-process/device communication for multiple systems of asynchronous devices199646
US 5,617,537 AMessage passing system for distributed shared memory multiprocessor system and message passing method using the same1997270
US 5,841,973 AMessaging in distributed memory multiprocessing system having shell circuitry for atomic control of message storage queue's tail pointer structure in local memory1998170
US 5,901,326 AMemory bus address snooper logic for determining memory activity without performing memory accesses19996
US 5,900,020 AMethod and apparatus for maintaining an order of write operations by processors in a multiprocessor computer to maintain memory consistency199958
US 5,938,765 ASystem and method for initializing a multinode multiprocessor computer system1999104
US 6,029,205 ASystem architecture for improved message passing and process synchronization between concurrently executing processes2000118
US 6,182,152 B1Method and system for synchronizing concurrent sequential processes using intraprocess update operations and inter-process adapt operations20019

Non-Patent Literature (3)

  • "Interprocess Communications," UNIX Internals, by Uresh Vahalia, pp. 149-186 (1996).
  • "Synchronization and Multiprocessors," UNIX Internals, by Uresh Vahalia, pp. 187-219 (1996).
  • "The SVR4 VM Architecture," UNIX Internals, by Uresh Vahalia, pp. 437-440 (1996).