Re: testcase failure

2011-10-04 Thread David Holmes
Thanks Chris and Alan. On 4/10/2011 11:24 PM, Alan Bateman wrote: Chris Hegarty wrote: Trivially, should the main thread in the test be waiting on the three other threads to complete before exiting? I think jtreg will try to cleanup once the main thread completes. The main thread should keep a

Re: testcase failure

2011-10-04 Thread Chris Hegarty
Trivially, should the main thread in the test be waiting on the three other threads to complete before exiting? I think jtreg will try to cleanup once the main thread completes. The main thread should keep an array of the threads it creates and invoke join() on each of them before returning fr

Re: testcase failure

2011-10-04 Thread Alan Bateman
Chris Hegarty wrote: Trivially, should the main thread in the test be waiting on the three other threads to complete before exiting? I think jtreg will try to cleanup once the main thread completes. The main thread should keep an array of the threads it creates and invoke join() on each of th