Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
BUG: SimpleThreadPool
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AlexK  
View profile  
 More options Oct 22 2008, 6:39 am
From: AlexK <kucherenko.a...@gmail.com>
Date: Wed, 22 Oct 2008 03:39:03 -0700 (PDT)
Local: Wed, Oct 22 2008 6:39 am
Subject: BUG: SimpleThreadPool
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"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marko Lahma  
View profile  
 More options Oct 23 2008, 3:48 am
From: "Marko Lahma" <marko.la...@gmail.com>
Date: Thu, 23 Oct 2008 10:48:27 +0300
Local: Thurs, Oct 23 2008 3:48 am
Subject: Re: [quartznet:815] BUG: SimpleThreadPool
Thanks for reporting this, I filed a bug (
http://jira.opensymphony.com/browse/QRTZNET-133 ) and it's now fixed
in trunk.

Cheers,

-Marko


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »