Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoind.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
* | * | ||||
* \section Navigation | * \section Navigation | ||||
* Use the buttons <code>Namespaces</code>, <code>Classes</code> or | * Use the buttons <code>Namespaces</code>, <code>Classes</code> or | ||||
* <code>Files</code> at the top of the page to start navigating the code. | * <code>Files</code> at the top of the page to start navigating the code. | ||||
*/ | */ | ||||
static void WaitForShutdown(NodeContext &node) { | static void WaitForShutdown(NodeContext &node) { | ||||
while (!ShutdownRequested()) { | while (!ShutdownRequested()) { | ||||
MilliSleep(200); | UninterruptibleSleep(std::chrono::milliseconds{200}); | ||||
} | } | ||||
Interrupt(node); | Interrupt(node); | ||||
} | } | ||||
////////////////////////////////////////////////////////////////////////////// | ////////////////////////////////////////////////////////////////////////////// | ||||
// | // | ||||
// Start | // Start | ||||
// | // | ||||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |