• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (4): 75-80.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • Previous Articles     Next Articles

A NonBlocking List Mechanism for Event Message Communications

LIU Xiaojian,WU Qingbo,DAI Huadong,REN Yi   

  1. (School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2009-06-04 Revised:2009-11-05 Online:2011-04-25 Published:2011-04-25

Abstract:

It is desirable to facilitate data communications among parallel computation threads without incurring nonessential synchronizations in parallel computing systems. The NonBlocking Buffer(NBB) is such a mechanism. However, the NBB mechanism has several severe drawbacks, including limited buffer size, inconvenient or even infeasible usage in multiple consumers/producers cases. Nonblocking List mechanism(NBL), which can handle these problems gracefully, is described in this article. The algorithms and formal proofs are also presented. Finally, experiments are done to test the validity and performance of the NBL mechanism. The NBL mechanism can be regarded as the linked list version of NBB.

Key words: parallel programming;distributed computing;thread;synchronization;blocking;real time;NBB;NBL;producer;consumer