Artículo de revista
Parallel object monitors
Fecha
2008-08-25Registro en:
CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE Volume: 20 Issue: 12 Pages: 1387-1417 Published: AUG 25 2008
1532-0626
10.1002/cpe.1261
Autor
Caromel, Denis
Mateu Brûle, Luis
Pothier, Guillaume
Tanter, Éric Pierre
Institución
Resumen
Coordination of parallel activities on a shared memory machine is a crucial issue for modern software, even more with the advent of multi-core processors. Unfortunately, traditional concurrency abstractions force programmers to tangle the application logic with the synchronization concern, thereby compromising understandability and reuse, and fall short when fine-grained and expressive strategies are needed. This paper presents a new concurrency abstraction called POM, parallel object monitor, supporting expressive means for coordination of parallel activities over one or more objects, while allowing a clean separation of the coordination concern from application code. Expressive and reusable strategies for concurrency control can be designed, thanks to a full access to the queue of pending requests, parallel execution of dispatched requests together with after-actions, and complete control over reentrancy. A small domain-specific aspect language is provided to adequately configure pre-packaged, off-the-shelf synchronizations.