发明授权
US08751737B2 Method and apparatus for using a shared ring buffer to provide thread synchronization in a multi-core processor system
有权
用于在多核处理器系统中使用共享环形缓冲器来提供线程同步的方法和装置
- 专利标题: Method and apparatus for using a shared ring buffer to provide thread synchronization in a multi-core processor system
- 专利标题(中): 用于在多核处理器系统中使用共享环形缓冲器来提供线程同步的方法和装置
-
申请号: US12492598申请日: 2009-06-26
-
公开(公告)号: US08751737B2公开(公告)日: 2014-06-10
- 发明人: Tian Bu , Girish Chandranmenon , Pak-Ching Lee
- 申请人: Tian Bu , Girish Chandranmenon , Pak-Ching Lee
- 申请人地址: FR Paris
- 专利权人: Alcatel Lucent
- 当前专利权人: Alcatel Lucent
- 当前专利权人地址: FR Paris
- 代理机构: Wall & Tong, LLP
- 主分类号: G06F5/10
- IPC分类号: G06F5/10
摘要:
An apparatus and method for improving synchronization between threads in a multi-core processor system are provided. An apparatus includes a memory, a first processor core, and a second processor core. The memory includes a shared ring buffer for storing data units, and stores a plurality of shared variables associated with accessing the shared ring buffer. The first processor core runs a first thread and has a first cache associated therewith. The first cache stores a first set of local variables associated with the first processor core. The first thread controls insertion of data items into the shared ring buffer using at least one of the shared variables and the first set of local variables. The second processor core runs a second thread and has a second cache associated therewith. The second cache stores a second set of local variables associated with the second processor core. The second thread controls extraction of data items from the shared ring buffer using at least one of the shared variables and the second set of local variables.
公开/授权文献
信息查询