Title :
Region synchronization in message passing systems
Author :
Singh, Gurdip ; Su, Ye
Author_Institution :
Comput. & Inf. Sci., Kansas State Univ., Manhattan, KS, USA
Abstract :
The development of correct synchronization code for distributed programs is a challenging task. In this paper, we propose an aspect oriented technique for developing synchronization code for message passing systems. Our approach is to factor out synchronization as a separate aspect, synthesize synchronization code and then compose it with the functional code. Specifically, we allow the designer of an application to first design the functional code. The designer can then annotate the functional code with regions and specify a high-level "global invariant" specifying the synchronization policy. A synchronization policy essentially gives the occupancy rules for the various regions. The solution to this problem, which we term the region synchronization problem, involves deriving a set of rules for entering and exiting each region. We provide a systematic invariant into a message passing algorithm for a point-to-point message passing system. We show that many existing synchronization problems can be specified as instances of the region synchronization problem. Hence, our algorithms can be used to solve a large class of synchronization problems.
Keywords :
distributed programming; message passing; synchronisation; aspect oriented technique; message passing systems; point-to-point message passing system; region synchronization; region synchronization problem; Contracts; Counting circuits; Design methodology; Distributed computing; Formal specifications; Message passing; Operating systems; Parallel processing; Unified modeling language;
Conference_Titel :
Parallel Processing, 2002. Proceedings. International Conference on
Print_ISBN :
0-7695-1677-7
DOI :
10.1109/ICPP.2002.1040883