libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
util
AutoMutex.h
1
/*
2
** libutil++
3
** $Id: AutoMutex.h 1653 2016-02-28 19:54:59Z sella $
4
** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5
** Released under the LGPL Version 2.1 License.
6
** http://www.digitalgenesis.com
7
*/
8
9
#ifndef __libutilxx__sella__util__AutoMutex_H__
10
#define __libutilxx__sella__util__AutoMutex_H__
11
12
#include "../../common.h"
13
14
#include <pthread.h>
15
16
namespace
sella {
17
namespace
util {
18
class
AutoMutex;
19
}
20
}
21
22
class
sella::util::AutoMutex
{
23
public
:
24
AutoMutex
(pthread_mutex_t & mutex)
throw
();
25
~
AutoMutex
()
throw
();
26
27
private
:
28
pthread_mutex_t & mutex;
29
};
30
31
#endif
32
33
/*
34
** vim: noet ts=3 sw=3
35
*/
sella::util::AutoMutex
Definition:
AutoMutex.h:22
Generated on Sat Sep 2 2017 11:44:22 for libutil++ by
1.8.5