Annotate some core classes

This commit is contained in:
Vinnie Falco
2013-06-23 19:31:16 -07:00
parent fca16f5c71
commit 5c21ce5b3c
12 changed files with 125 additions and 99 deletions

View File

@@ -152,7 +152,7 @@ Json::Value JobQueue::getJson (int)
return ret;
}
int JobQueue::isOverloaded ()
bool JobQueue::isOverloaded ()
{
int count = 0;
boost::mutex::scoped_lock sl (mJobLock);
@@ -161,7 +161,7 @@ int JobQueue::isOverloaded ()
if (mJobLoads[i].isOver ())
++count;
return count;
return count > 0;
}
void JobQueue::shutdown ()