Re: Testing threading

2005-04-07 Thread Warren Postma
George Sakkis wrote: How one goes on testing a threaded program, apart from doing a few successful runs and crossing his fingers that it at least follows the 'correct 99.% of the time' rule ? If you haven't been in there and stepped through all the code, looked for a reasonable set of test ca

Testing threading

2005-04-05 Thread George Sakkis
How one goes on testing a threaded program, apart from doing a few successful runs and crossing his fingers that it at least follows the 'correct 99.% of the time' rule ? I've written a stripped-down python version of Doug Lea's PooledExecutor thread pool class (http://gee.cs.oswego.edu/dl/clas