code: public Thread getExecutingThread() {
  		synchronized (this) {
  
  			if (this.executingThread == null) {
  				if (this.taskName == null) {
  					this.executingThread = new Thread(this);
  				}
  				else {
  					this.executingThread = new Thread(this, getTaskNameWithIndex());
  				}
  			}
  
  			return this.executingThread;
  		}
  	}
docs: Returns the thread which is assigned to execute the user code.
  
  @return the thread which is assigned to execute the user code