libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
util
AutoWriteLock.h
1
/*
2
** libutil++
3
** $Id: AutoWriteLock.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__AutoWriteLock_H__
10
#define __libutilxx__sella__util__AutoWriteLock_H__
11
12
#include "../../common.h"
13
14
#include <pthread.h>
15
16
namespace
sella {
17
namespace
util {
18
class
AutoWriteLock;
19
}
20
}
21
22
class
sella::util::AutoWriteLock
{
23
public
:
24
AutoWriteLock
(pthread_rwlock_t & lock)
throw
();
25
~
AutoWriteLock
()
throw
();
26
27
private
:
28
pthread_rwlock_t & lock;
29
};
30
31
#endif
32
33
/*
34
** vim: noet ts=3 sw=3
35
*/
sella::util::AutoWriteLock
Definition:
AutoWriteLock.h:22
Generated on Sat Sep 2 2017 11:44:22 for libutil++ by
1.8.5