上海大学学报(英文版)
上海大學學報(英文版)
상해대학학보(영문판)
JOURNAL OF SHANGHAI UNIVERSITY (ENGLISH EDITION)
2004年
3期
295-300
,共6页
鲁宏伟%汪厚祥%裴晓黎%肖永玲
魯宏偉%汪厚祥%裴曉黎%肖永玲
로굉위%왕후상%배효려%초영령
message-passing interface%object-oriented%the future method%inheritance anomaly%concurrent class library
Object-oriented model possesses inherent concurrency. Integration of concurrency and object-orientation is a promising new field. MPI is a message-passing standard and has been adopted by more and more systems. This paper proposes a novel approach to realize concurrent object-oriented programming based on Message-passing interface(MPI) in which future method communication is adopted between concurrent objects. A state behavior set is proposed to solve inheritance anomaly, and a bounded buffer is taken as an example to illustrate this proposal. The definition of ParaMPI class, which is the most important class in the concurrent class library,and implementation issues are briefly described.