发明名称 MESSAGE PASSING USING SHARED MEMORY OF A COMPUTER
摘要 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.
申请公布号 US2003061395(A1) 申请公布日期 2003.03.27
申请号 US19980107094 申请日期 1998.06.29
申请人 KINGSBURY BRENT A.;SULMONT JEAN-MARIE CHRISTIAN;MCKENNEY PAUL E. 发明人 KINGSBURY BRENT A.;SULMONT JEAN-MARIE CHRISTIAN;MCKENNEY PAUL E.
分类号 G06F9/46;(IPC1-7):G06F9/00;G06F9/54 主分类号 G06F9/46
代理机构 代理人
主权项
地址