Most people don't share WMs between threads, so yeah, no need for the synchronized wrapper.
On 2/22/06, Geoffrey Wiseman <[EMAIL PROTECTED]> wrote: > > On 2/21/06, Fanory <[EMAIL PROTECTED]> wrote: > > > > I'm just beginning with drools. > > I have a main method which starts a junit testsuite containing multiple > > calls > > of TestCase through loadTest Junitperf method: > > > [snip] > > To obtain correct results, i have to prefix my setup method and my test > > method > > from with synchronized. > > Is-it the correct way to implement this stuff ??? > > Or do i use other object like SynchonizedWorkingMemory for instance ... > > > > Although I don't know JUnitPerf well enough to understand how the > threading > is applied to the tests, if each thread has its own working memory, you > shouldn't need SynchronizedWorkingMemory. > > - Geoffrey > -- > Geoffrey Wiseman > >
