tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
lock_guard.hpp File Reference

Go to the source code of this file.

Classes

struct  lock_guard< MutexT >
 The struct lock_guard is a mutex wrapper that provides a convenient RAII-style mechanism for owning a mutex for the duration of a scoped block. When a lock_guard object is created, it attempts to take ownership of the mutex it is given. When control leaves the scope in which the lock_guard object was created, the lock_guard is destructed and the mutex is released. The lock_guard struct is non-copyable. More...
 

Namespaces

namespace  etl