BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
src
shutdown.cpp
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-2018 The Bitcoin Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#include <
shutdown.h
>
7
8
#include <atomic>
9
10
static
std::atomic<bool> fRequestShutdown(
false
);
11
12
void
StartShutdown
()
13
{
14
fRequestShutdown =
true
;
15
}
16
void
AbortShutdown
()
17
{
18
fRequestShutdown =
false
;
19
}
20
bool
ShutdownRequested
()
21
{
22
return
fRequestShutdown;
23
}
ShutdownRequested
bool ShutdownRequested()
Definition:
shutdown.cpp:20
shutdown.h
AbortShutdown
void AbortShutdown()
Definition:
shutdown.cpp:16
StartShutdown
void StartShutdown()
Definition:
shutdown.cpp:12
Generated on Wed Nov 28 2018 15:30:29 for BSHA3 by
1.8.14