mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Rename reportUncaughtExceptions to threadEntry
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include <ripple/app/ledger/InboundLedgers.h>
|
||||
#include <ripple/app/ledger/LedgerMaster.h>
|
||||
#include <ripple/core/LoadFeeTrack.h>
|
||||
#include <ripple/core/ReportUncaughtException.h>
|
||||
#include <ripple/core/ThreadEntry.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/beast/core/Thread.h>
|
||||
|
||||
@@ -243,7 +243,7 @@ private:
|
||||
|
||||
void run ()
|
||||
{
|
||||
reportUncaughtException (
|
||||
threadEntry (
|
||||
this, &LedgerCleanerImp::runImpl, "LedgerCleanerImp::run()");
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/app/main/BasicApp.h>
|
||||
#include <ripple/beast/core/Thread.h>
|
||||
#include <ripple/core/ReportUncaughtException.h>
|
||||
#include <ripple/core/ThreadEntry.h>
|
||||
|
||||
BasicApp::BasicApp(std::size_t numberOfThreads)
|
||||
{
|
||||
@@ -34,7 +34,7 @@ BasicApp::BasicApp(std::size_t numberOfThreads)
|
||||
std::string("io_service #") +
|
||||
std::to_string(numberOfThreads));
|
||||
|
||||
ripple::reportUncaughtException (&io_service_,
|
||||
ripple::threadEntry (&io_service_,
|
||||
&boost::asio::io_service::run,
|
||||
"io_service::run");
|
||||
});
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <ripple/app/misc/NetworkOPs.h>
|
||||
#include <ripple/basics/UptimeTimer.h>
|
||||
#include <ripple/core/LoadFeeTrack.h>
|
||||
#include <ripple/core/ReportUncaughtException.h>
|
||||
#include <ripple/core/ThreadEntry.h>
|
||||
#include <ripple/json/to_string.h>
|
||||
#include <ripple/beast/core/Thread.h>
|
||||
#include <memory>
|
||||
@@ -108,7 +108,7 @@ void LoadManager::onStop ()
|
||||
|
||||
void LoadManager::run ()
|
||||
{
|
||||
reportUncaughtException (this, &LoadManager::runImpl, "LoadManager::run()");
|
||||
threadEntry (this, &LoadManager::runImpl, "LoadManager::run()");
|
||||
}
|
||||
|
||||
void LoadManager::runImpl ()
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/basics/contract.h>
|
||||
#include <ripple/core/ConfigSections.h>
|
||||
#include <ripple/core/ReportUncaughtException.h>
|
||||
#include <ripple/core/ThreadEntry.h>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
@@ -298,7 +298,7 @@ SHAMapStoreImp::copyNode (std::uint64_t& nodeCount,
|
||||
void
|
||||
SHAMapStoreImp::run()
|
||||
{
|
||||
reportUncaughtException (
|
||||
threadEntry (
|
||||
this, &SHAMapStoreImp::runImpl, "SHAMapStoreImp::run()");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user