atscppapi  1.0.9
C++ wrapper for Apache Traffic Server API
 All Classes Files Functions Enumerations Enumerator Macros
Classes | Macros
Mutex.h File Reference

Contains Mutex related classes for creating a Mutex and locking a Mutex in a specific scope. More...

#include <pthread.h>
#include <atscppapi/noncopyable.h>
#include <atscppapi/shared_ptr.h>

Go to the source code of this file.

Classes

class  atscppapi::Mutex
 A mutex is mutual exclusion: a blocking lock. More...
 
class  atscppapi::ScopedMutexLock
 Take a Mutex reference and lock inside a scope and unlock when the scope is exited. More...
 
class  atscppapi::ScopedSharedMutexLock
 Take a shared_ptr to a Mutex and lock inside a scope and unlock when the scope is exited. More...
 
class  atscppapi::ScopedMutexTryLock
 Take a Mutex reference and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More...
 
class  atscppapi::ScopedSharedMutexTryLock
 Take a shared_ptr to a Mutex and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More...
 

Detailed Description

Contains Mutex related classes for creating a Mutex and locking a Mutex in a specific scope.

Author
Brian Geffon
Manjesh Nilange