发明授权
US09021502B2 Method and system for inter-thread communication using processor messaging
有权
使用处理器消息传递的线程间通信的方法和系统
- 专利标题: Method and system for inter-thread communication using processor messaging
- 专利标题(中): 使用处理器消息传递的线程间通信的方法和系统
-
申请号: US12345179申请日: 2008-12-29
-
公开(公告)号: US09021502B2公开(公告)日: 2015-04-28
- 发明人: David Dice , Mark S. Moir
- 申请人: David Dice , Mark S. Moir
- 申请人地址: US CA Redwood City
- 专利权人: Oracle America Inc.
- 当前专利权人: Oracle America Inc.
- 当前专利权人地址: US CA Redwood City
- 代理机构: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- 代理商 Robert C. Kowert
- 主分类号: G06F3/00
- IPC分类号: G06F3/00 ; G06F9/46 ; G06F9/54 ; G06F9/30
摘要:
In shared-memory computer systems, threads may communicate with one another using shared memory. A receiving thread may poll a message target location repeatedly to detect the delivery of a message. Such polling may cause excessive cache coherency traffic and/or congestion on various system buses and/or other interconnects. A method for inter-processor communication may reduce such bus traffic by reducing the number of reads performed and/or the number of cache coherency messages necessary to pass messages. The method may include a thread reading the value of a message target location once, and determining that this value has been modified by detecting inter-processor messages, such as cache coherence messages, indicative of such modification. In systems that support transactional memory, a thread may use transactional memory primitives to detect the cache coherence messages. This may be done by starting a transaction, reading the target memory location, and spinning until the transaction is aborted.
公开/授权文献
信息查询