Kea 2.5.7
interprocess_sync_null.cc
Go to the documentation of this file.
1// Copyright (C) 2012-2015 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#include <config.h>
8
10
11namespace isc {
12namespace log {
13namespace interprocess {
14
16}
17
18bool
20 is_locked_ = true;
21 return (true);
22}
23
24bool
26 is_locked_ = true;
27 return (true);
28}
29
30bool
32 is_locked_ = false;
33 return (true);
34}
35
36} // namespace interprocess
37} // namespace log
38} // namespace isc
bool tryLock()
Try to acquire a lock (doesn't block)
bool lock()
Acquire the lock (never blocks)
Defines the logger used by the top-level component of kea-lfc.