Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 44258 invoked from network); 17 Oct 2005 18:38:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2005 18:38:00 -0000 Received: (qmail 67060 invoked by uid 500); 17 Oct 2005 18:37:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 67021 invoked by uid 500); 17 Oct 2005 18:37:58 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 67010 invoked by uid 99); 17 Oct 2005 18:37:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 11:37:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 11:37:58 -0700 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [192.168.105.132] ([62.84.203.102]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11/8.12.11) with ESMTP id j9HIbZod029993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Oct 2005 20:37:35 +0200 (MEST) Message-ID: <4353EFC5.8010601@nada.kth.se> Date: Mon, 17 Oct 2005 20:39:01 +0200 From: Daniel Fagerstrom User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Startable components References: <4353D193.3020900@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Lazy loading is great, and we should fix it. But until we have fixed it we should turn it of by default. /Daniel Jorg Heymans wrote: >Sylvain Wallez wrote: > > >>- core: DefaultRunnableManager >> The thread pool can be created lazily when the first Runnable is executed. >> >> > >this change broke DefaultRunnableManagerTestCase.java , which does a >bunch of > >runnableManager.start( ); >Thread.yield( ); >Thread.sleep( 20 ); >runnableManager.execute( runnable ); >Thread.yield( ); >Thread.sleep( 20 ); >runnableManager.stop( ); >Thread.yield( ); >Thread.sleep( 20 ); >runnableManager.dispose( ); >Thread.sleep( 20 ); > > >I have no idea what the test actually does, or even if it can still test >the behaviour it's supposed to test. > >HTH >Jorg > > >