Stub concurrency policy that implements the interface using no-ops. More...
#include <none.hpp>
Public Types | |
typedef none_impl::fake_mutex | mutex_type |
The type of a mutex primitive. More... | |
typedef none_impl::fake_lock_guard | scoped_lock_type |
The type of a scoped/RAII lock primitive. More... | |
Stub concurrency policy that implements the interface using no-ops.
This policy documents the concurrency policy interface using no-ops. It can be used as a reference or base for building a new concurrency policy. It can also be used as is to disable all locking for endpoints used in purely single threaded programs.