cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fagerstrom <dani...@nada.kth.se>
Subject Re: Startable components
Date Mon, 17 Oct 2005 18:39:01 GMT
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
>
>  
>


Mime
View raw message