The Tntnet project
C++ dynamite for the web
Overview
Tntnet
Cxxtools
Tntdb
Documentation
Start guide
Man pages
Api docs stable
Api docs master
Howto
Demos
Resources
FAQ
News
Downloads
References
Development
License
Contact
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
cxxtools
atomicity.sun.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006 by PTV AG
3
* Copyright (C) 2006 by Marc Boris Duerner
4
* Copyright (C) 2006 by Aloysius Indrayanto
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* As a special exception, you may use this file as part of a free
12
* software library without restriction. Specifically, if other files
13
* instantiate templates or use macros or inline functions from this
14
* file, or you compile this file and link it with other files to
15
* produce an executable, this file does not by itself cause the
16
* resulting executable to be covered by the GNU General Public
17
* License. This exception does not however invalidate any other
18
* reasons why the executable file might be covered by the GNU Library
19
* General Public License.
20
*
21
* This library is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24
* Lesser General Public License for more details.
25
*
26
* You should have received a copy of the GNU Lesser General Public
27
* License along with this library; if not, write to the Free Software
28
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29
*/
30
#ifndef CXXTOOLS_ATOMICITY_SUN_H
31
#define CXXTOOLS_ATOMICITY_SUN_H
32
33
#include <sys/types.h>
34
#include <sys/atomic.h>
35
36
namespace
cxxtools {
37
38
typedef
long
atomic_t
;
39
40
}
// namespace cxxtools
41
42
#endif