#include <autolock.h>
Public Member Functions | |
| AutoLock (Mutex &managed_mutex) | |
| Creates a new AutoLock to manage the indicated Mutex. | |
| void | release () |
| Releases the managed Mutex before the AutoLock destruction. | |
Private Attributes | |
| Mutex & | mutex |
| Mutex to be managed. | |
| bool | must_release |
| Indicates if the mutex must be relased when the AutoLock goes out of scope. | |
| openikev2::AutoLock::AutoLock | ( | Mutex & | managed_mutex | ) |
1.5.1