|
RWLEnvelope 0.0.0
Thread-safe envelope wrapper using reader-writer locks
|
Thread-safe envelope wrapper using reader-writer locks. More...
#include <functional>#include <shared_mutex>#include <tuple>#include <utility>#include <concepts>#include <exception>#include <type_traits>
Go to the source code of this file.
Classes | |
| class | siddiqsoft::RWLEnvelope< ContainerType > |
| Thread-safe envelope wrapper using reader-writer locks. More... | |
Concepts | |
| concept | siddiqsoft::ObserveCallbackNoexcept |
| Concept to enforce that callbacks do not throw exceptions (for const/read-only access). | |
| concept | siddiqsoft::MutateCallbackNoexcept |
| Concept to enforce that callbacks do not throw exceptions (for mutable access). | |
Thread-safe envelope wrapper using reader-writer locks.
RWLEnvelope provides a simple, convenient envelope-access model for thread-safe access to objects using reader-writer locks. It wraps a type T with std::shared_mutex to enable safe concurrent read and exclusive write access patterns.
Definition in file RWLEnvelope.hpp.
| #define RWLENVELOPE_HPP |
Definition at line 61 of file RWLEnvelope.hpp.