Rename reportUncaughtExceptions to threadEntry

This commit is contained in:
seelabs
2016-07-05 14:48:37 -04:00
parent b72724a4a4
commit c9d8fa9e96
15 changed files with 40 additions and 40 deletions

View File

@@ -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()");
}

View File

@@ -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");
});

View File

@@ -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 ()

View File

@@ -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()");
}