src/loaders/support/LoaderWorkerDirector.js
function () {
		var prepData, supportDesc;
		for ( var instanceNo in this.workerDescription.workerSupports ) {

			supportDesc = this.workerDescription.workerSupports[ instanceNo ];
			if ( ! supportDesc.inUse ) {

				if ( this.instructionQueuePointer < this.instructionQueue.length ) {

					prepData = this.instructionQueue[ this.instructionQueuePointer ];
					this._kickWorkerRun( prepData, supportDesc );
					this.instructionQueuePointer++;

				} else {

					this._deregister( supportDesc );

				}

			}

		}

		if ( ! this.isRunning() && this.callbackOnFinishedProcessing !== null ) {

			this.callbackOnFinishedProcessing();
			this.callbackOnFinishedProcessing = null;

		}
	}
function () {
		var prepData, supportDesc;
		for ( var instanceNo in this.workerDescription.workerSupports ) {

			supportDesc = this.workerDescription.workerSupports[ instanceNo ];
			if ( ! supportDesc.inUse ) {

				if ( this.instructionQueuePointer < this.instructionQueue.length ) {

					prepData = this.instructionQueue[ this.instructionQueuePointer ];
					this._kickWorkerRun( prepData, supportDesc );
					this.instructionQueuePointer++;

				} else {

					this._deregister( supportDesc );

				}

			}

		}

		if ( ! this.isRunning() && this.callbackOnFinishedProcessing !== null ) {

			this.callbackOnFinishedProcessing();
			this.callbackOnFinishedProcessing = null;

		}
	}
function ( ) { var prepData , supportDesc ; for ( var instanceNo in this . workerDescription . workerSupports ) { supportDesc = this . workerDescription . workerSupports [ instanceNo ] ; if ( ! supportDesc . inUse ) { if ( this . instructionQueuePointer < this . instructionQueue . length ) { prepData = this . instructionQueue [ this . instructionQueuePointer ] ; this . _kickWorkerRun ( prepData , supportDesc ) ; this . instructionQueuePointer ++ ; } else { this . _deregister ( supportDesc ) ; } } } if ( ! this . isRunning ( ) && this . callbackOnFinishedProcessing !== null ) { this . callbackOnFinishedProcessing ( ) ; this . callbackOnFinishedProcessing = null ; } }
Process the instructionQueue until it is depleted.
Process the instructionQueue until it is depleted .