process is no longer processing

This commit is contained in:
Aleric Inglewood
2012-07-17 19:27:14 +02:00
parent 900e533b4b
commit 64b968b262
6 changed files with 8 additions and 6 deletions

View File

@@ -1617,7 +1617,9 @@ void LLMeshUploadThread::doWholeModelUpload()
new LLWholeModelUploadResponder(this, full_model_data, mUploadObserverHandle), mMeshUploadTimeOut);
do
{
mCurlRequest->process();
mCurlRequest->process(); // FIXME: This function does not exist anymore. The post() gets CPU time from AICurlEasyRequestStateMachine.
// Therefore, if we do not want to continue here unless this upload is done... no wait, that would
// be blocking and we don't want blocking...
//sleep for 10ms to prevent eating a whole core
apr_sleep(10000);
} while (mCurlRequest->getQueued() > 0);