Computer Science · Hardware and Architecture
Generic Locking and Deadlock-Prevention with C++.
See on the mapAbstract
Concurrent programming with threads heavily relies on locks. The locks provided by most threading systems are rather basic and suffer from a variety of problems. This paper addresses some of them, namely deadlocks, lack of exception-safety, and their procedural style. We describe higher-level locks that can be assembled from the more basic ones. Throughout the paper, we refer to C++ and OpenMP for parallelization, but most of the functionality is generic and independent from OpenMP. This work is part of the AthenaMP project.
More like this
WRITING APPLICATIONS THAT BENEFIT FROM THE MASSIVE COMPUTATIONAL POWER OF FUTURE MULTICORE CHIP MULTIPROCESSORS WILL NOT BE AN EASY TASK FOR MAINSTREAM PROGRAMMERS ACCUSTOMED TO SEQUENTIAL ALGORITHMS RATHER THAN PARALLEL ONES. THIS ARTICLE PRESENTS A SURV
Tim Harris, Adrián Cristal, Osman S. Unsal +4 more