Sen API
Sen Libraries
Loading...
Searching...
No Matches
mutex_utils.h File Reference
#include "sen/core/base/compiler_macros.h"
#include <functional>
#include <mutex>

Go to the source code of this file.

Classes

struct  sen::Guarded< T, MutexType >
 Guarded is a lightweight wrapper class that can be used to protect an objet of type T from concurrent modification. The wrapper only allows access/reads/modifications of the underlying value while holding a lock but does not require the user to hold the lock himself. More...
struct  sen::Guarded< T, MutexType >::TemporaryAccessToken
 Access token that enables the user to interact with the protected object while simultaneously holding a lock to ensure access are correctly synchronized. More...

Namespaces

namespace  sen