dodo
0.0.1
A C++ library to create containerized Linux services
threads.hpp
Go to the documentation of this file.
1
/*
2
* This file is part of the dodo library (https://github.com/jmspit/dodo).
3
* Copyright (c) 2019 Jan-Marten Spit.
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, version 3.
8
*
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
/**
19
* @file threads.hpp
20
* Includes network headers and implements network::initLibrary() and network::closeLibrary().
21
*/
22
23
#ifndef threads_threads_hpp
24
#define threads_threads_hpp
25
26
#include <
threads/mutex.hpp
>
27
#include <
threads/thread.hpp
>
28
29
namespace
dodo
{
30
31
/**
32
* Interface for Thread programming.
33
*/
34
namespace
threads {
35
36
/**
37
* Initialize the dodo::threads library.
38
*/
39
void
initLibrary
() {
40
}
41
42
/**
43
* Close the dodo::threads library.
44
*/
45
void
closeLibrary
() {
46
}
47
48
}
49
50
}
51
52
#endif
dodo
A C++ platform interface to lean Linux services tailored for containerized deployment.
Definition:
application.hpp:29
thread.hpp
dodo::threads::initLibrary
void initLibrary()
Initialize the dodo::threads library.
Definition:
threads.hpp:39
dodo::threads::closeLibrary
void closeLibrary()
Close the dodo::threads library.
Definition:
threads.hpp:45
mutex.hpp
src
include
threads
threads.hpp
Generated by
1.8.17