mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Temporarily back out the thread migration code until I can figure out if Boost's IO service is broken.
This commit is contained in:
@@ -291,19 +291,19 @@ void JobQueue::threadEntry()
|
||||
while (1)
|
||||
{
|
||||
NameThread("waiting");
|
||||
bool didIO = false;
|
||||
// bool didIO = false;
|
||||
while (mJobSet.empty() && !mShuttingDown)
|
||||
{
|
||||
if ((mIOThreadCount < mMaxIOThreadCount) && !didIO && !theApp->isShutdown())
|
||||
{
|
||||
IOThread(sl);
|
||||
didIO = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// if ((mIOThreadCount < mMaxIOThreadCount) && !didIO && !theApp->isShutdown())
|
||||
// {
|
||||
// IOThread(sl);
|
||||
// didIO = true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
mJobCond.wait(sl);
|
||||
didIO = false;
|
||||
}
|
||||
// didIO = false;
|
||||
// }
|
||||
}
|
||||
|
||||
if (mShuttingDown)
|
||||
|
||||
Reference in New Issue
Block a user