/// <summary> /// This method is called by the Pool if a job needs to be stopped. /// The default implementation does nothing and should be extended by a /// derived thread pool class if special action is required. /// </summary> /// <param name="thread">The thread allocated to the job, or null if no thread allocated.</param> /// <param name="job">The job object passed to run.</param> protected void StopJob(IThread thread, object job) { thread.Interrupt(); }