发明授权
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
摘要:
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.
信息查询
0/0