mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 17:35:51 +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)
|
while (1)
|
||||||
{
|
{
|
||||||
NameThread("waiting");
|
NameThread("waiting");
|
||||||
bool didIO = false;
|
// bool didIO = false;
|
||||||
while (mJobSet.empty() && !mShuttingDown)
|
while (mJobSet.empty() && !mShuttingDown)
|
||||||
{
|
{
|
||||||
if ((mIOThreadCount < mMaxIOThreadCount) && !didIO && !theApp->isShutdown())
|
// if ((mIOThreadCount < mMaxIOThreadCount) && !didIO && !theApp->isShutdown())
|
||||||
{
|
// {
|
||||||
IOThread(sl);
|
// IOThread(sl);
|
||||||
didIO = true;
|
// didIO = true;
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
mJobCond.wait(sl);
|
mJobCond.wait(sl);
|
||||||
didIO = false;
|
// didIO = false;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mShuttingDown)
|
if (mShuttingDown)
|
||||||
|
|||||||
Reference in New Issue
Block a user