Title :
Behaviour equation as solution of inheritance anomaly in concurrent object-oriented programming languages
Author :
Leung, Barry C L ; Chiu, Peter P K
Author_Institution :
Dept. of Electron. Eng., Hong Kong Polytech. Univ., Kowloon, Hong Kong
Abstract :
In this paper, we propose a new model called Behaviour Description Equation which solves the problem of inheritance anomaly found in concurrent object-oriented programming languages and provides a means for the reuse of synchronisation code. The fundamental reason why inheritance anomaly occurs is that for a concurrent object, when synchronisation code is not properly separated from the method code, the extension of code to produce a derived class may force the change of both the synchronisation code and method code in the super class. We believe that both synchronisation code and method code should be treated in a separated manner as two different inheritance systems so that the interference between inheritance and object-based concurrency is avoided
Keywords :
inheritance; object-oriented programming; parallel programming; behaviour equation; concurrent object; concurrent object-oriented programming languages; inheritance anomaly; object-based concurrency; super class; synchronisation code reuse; Concurrent computing; Encapsulation; Equations; Interference; Object oriented modeling; Object oriented programming; Proposals; Testing;
Conference_Titel :
Parallel and Distributed Processing, 1996. PDP '96. Proceedings of the Fourth Euromicro Workshop on
Conference_Location :
Braga
Print_ISBN :
0-8186-7376-1
DOI :
10.1109/EMPDP.1996.500608