Hi,
I take latest version of the quartz.net for own project... during
development I found bug:
class Quartz.Simp.SimpleThreadPool
/// <summary>
/// Creates the worker threads.
/// </summary>
/// <param name="threadCount">The thread count.</param>
/// <returns></returns>
protected internal virtual IList CreateWorkerThreads( int
threadCount )
{
workers = new ArrayList();
for( int i = 1 ; i <= count ; ++i )
{
WorkerThread wt = new WorkerThread(
this,
string.Format( CultureInfo.InvariantCulture, "{0}-{1}",
ThreadNamePrefix, i ),
ThreadPriority,
MakeThreadsDaemons );
workers.Add( wt );
}
return workers;
}
see one?!
we pass parameter to the method "threadCount" but do not use it,
instead we use class member "count"...
Fix: replace "count" by "threadCount"