Re: [Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-18 Thread Bret Pettichord
Chris McMahon wrote: The more I experiment with this, the more it looks like it's not going to work. Reading the pickaxe closely... ...if some thread happens to make a call to the operating system that takes a long time to complete, all threads will hang until the interpreter gets

[Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-17 Thread Chris McMahon
Hi...I have a number of test files named test_foo.rb, test_bar.rb, etc. I want to see if they will all run simultaneously in their own threads. I have the following code, but it's much much slower than I thought it would be. Am I really running all my test files in different threads

Re: [Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-17 Thread Bret Pettichord
I have a number of test files named test_foo.rb, test_bar.rb, etc. I want to see if they will all run simultaneously in their own threads. I have the following code, but it's much much slower than I thought it would be. Am I really running all my test files in different threads

Re: [Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-17 Thread Chris McMahon
On 10/17/06, Bret Pettichord [EMAIL PROTECTED] wrote: I have a number of test files named test_foo.rb, test_bar.rb, etc. I want to see if they will all run simultaneously in their own threads.I have the following code, but it's much much slower than I thought it would be.Am I really running all

Re: [Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-17 Thread Chris McMahon
Are you doing concurrency testing or are you simply trying to reduce the time it takes to test?I'm trying to reduce the amount of time to run a pretty intensive suite of tests. Each individual test should be capable of running independently (although I suspect I've made a few

Re: [Wtr-general] OT: threads-- is this code doing what I think it's doing?

2006-10-17 Thread Bret Pettichord
Chris McMahon wrote: I'm trying to reduce the amount of time to run a pretty intensive suite of tests. Each individual test should be capable of running independently (although I suspect I've made a few namespace/variable/scope mistakes that will require refactoring). I suggest that you