internal void Execute()
{
UploadPartRequest request = null;
while ((request = getNextPartRequest()) != null)
{
this._lastException = null;
try
{
this._uploader.addResponse(this._s3Client.UploadPart(request));
}
catch (ThreadAbortException)
{
throw;
}
catch (Exception e)
{
this._lastException = e;
lock (this._uploader.WAIT_FOR_COMPLETION_LOCK)
{
Monitor.Pulse(this._uploader.WAIT_FOR_COMPLETION_LOCK);
}
break;
}
}
}
}