<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hmm, maybe I meant for this to be a user configurable setting, so that
async wouldn't block engine if there was a large queue. Not sure, I'll
remove it for now.<br>
<br>
Mark<br>
Greg Barton wrote:
<blockquote cite="mid:184783.68182.qm@web81511.mail.mud.yahoo.com"
 type="cite">
  <pre wrap="">Nah, yield() not necessary.  The wait() inside of
LinkedBlockingQueue.take() takes care of that.  But
the Thread.sleep(100) limits the CommandExecutor to
only handling, at most, 10 Commands per second.  Just
wondering why that is.

--- Mark Proctor <a class="moz-txt-link-rfc2396E" href="mailto:mproctor@codehaus.org">&lt;mproctor@codehaus.org&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">heh, habit :) Hadn't put that much thought into it,
probably for my 
testing purposes, whats better a standard yield() ?

Mark
Greg Barton wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Just looked at it.  Looks good.

Just curious: why the "Thread.sleep(100)" on line
      </pre>
    </blockquote>
    <pre wrap="">39
    </pre>
    <blockquote type="cite">
      <pre wrap="">of  org.drools.concurrent.CommandExecutor?

--- Mark Proctor <a class="moz-txt-link-rfc2396E" href="mailto:mproctor@codehaus.org">&lt;mproctor@codehaus.org&gt;</a> wrote:

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Greg,

Did you checkout what I did with the async apis
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">in
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">4.0 MR2, happy I got 
the balance and implementation right?

Mark



    
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->---------------------------------------------------------------------
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  
      </pre>
      <blockquote type="cite">
        <pre wrap="">To unsubscribe from this list please visit:

    <a class="moz-txt-link-freetext" href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>


    
        </pre>
      </blockquote>
      <pre wrap="">

       

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->____________________________________________________________________________________You
  </pre>
  <blockquote type="cite">
    <pre wrap="">snooze, you lose. Get messages ASAP with AutoCheck
    </pre>
    <blockquote type="cite">
      <pre wrap="">in the all-new Yahoo! Mail Beta.

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!----><a class="moz-txt-link-freetext" href="http://advision.webevents.yahoo.com/mailbeta/newmail_html.html">http://advision.webevents.yahoo.com/mailbeta/newmail_html.html</a>
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  
      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->


       
____________________________________________________________________________________Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
<a class="moz-txt-link-freetext" href="http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz">http://search.yahoo.com/search?fr=oni_on_mail&amp;p=graduation+gifts&amp;cs=bz</a>

  </pre>
</blockquote>
<br>
</body>
</html>