A parallel programming methodology based on high level parallel compositions (CPANs)
Manuel I. Capel, Mario Rossainz López · 2004
Within an environment of parallel objects, an approach of structured parallel programming and the object-orientated paradigm, shows a programming method based on high level parallel compositions or HLPCs (CPANs in Spanish) by means of classes. The synchronous and asynchronous communication ways and the asynchronous future of the pattern of parallel objects, the predefined patterns of communication/interaction of the structured approach, the encapsulation and the abstraction of the object-orientated approach, to provide reusability to these patterns, together with a set of predefined restrictions of synchronization among processes (maxpar, mutex, sync) are used. The implementation of the commonly used communication patterns is explained by means of the application of the method, which form a library of susceptible classes for use in applications within the programming environments of C++ and of the standard POSIX of programming with threads.