The libGuarded library is a standalone header-only library to make correct and deadlock free multithreaded programming easier.
The basic idea is to put the knowledge of what locking mechanism belongs to what data into the type system. Incorrect usage will result in compiler errors instead of runtime errors.
To use copperspice/libguarded you will need a C++14 compiler.
However, the janwilmans/libguarded repository is modified to work with vs2013 and boost 1.65. So far only guarded.hpp and shared_guarded.hpp are working and tested.
copperspice/libguarded currently uses the Autotools build system for building and running the unit test suite. The library has been tested with clang sanitizer and a major code review.
[janwilmans/libguarded] is not reviewed yet but CI tests are running on AppVeyor on vs2013
Class level documentation for libGuarded is available on the CopperSpice website:
www.copperspice.com/docs/libguarded/index.html
Multiple videos discussing libGuarded and multithreading can be found on the following pages:
www.youtube.com/copperspice
www.copperspice.com/presentations.html
- Ansel Sermersheim
- Barbara Geller
- Casey Bodley
- Jan Wilmans
- Eric Lemanissier
- Odin Holmes - Promotions and working on getting us in conan.io
This library is released under the BSD 2-clause license. For more information refer to the LICENSE file provided with this project.
- Website: www.copperspice.com
- Email: info@copperspice.com