Kea  1.9.9-git
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 
11 namespace isc {
12 namespace log {
13 namespace interprocess {
14 
16 }
17 
18 bool
20  is_locked_ = true;
21  return (true);
22 }
23 
24 bool
26  is_locked_ = true;
27  return (true);
28 }
29 
30 bool
32  is_locked_ = false;
33  return (true);
34 }
35 
36 } // namespace interprocess
37 } // namespace log
38 } // namespace isc
bool lock()
Acquire the lock (never blocks)
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool tryLock()
Try to acquire a lock (doesn't block)