Kea 2.7.4
multi_threading_utils.h
Go to the documentation of this file.
1// Copyright (C) 2020 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef MULTI_THREADING_UTILS_H
8#define MULTI_THREADING_UTILS_H
9
11
12namespace isc {
13namespace test {
14
20public:
21
25 MultiThreadingTest(bool mode = true) {
27 }
28
33};
34
35} // end of isc::test namespace
36} // end of isc namespace
37
38#endif // MULTI_THREADING_UTILS_H
A RAII class which disables the multi threading on exit of scope.
~MultiThreadingTest()
Destructor (disable multi threading).
MultiThreadingTest(bool mode=true)
Constructor (set multi threading mode).
static MultiThreadingMgr & instance()
Returns a single instance of Multi Threading Manager.
Defines the logger used by the top-level component of kea-lfc.