首页>
外国专利>
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.
展开▼