B
Bret Pettichord
I am running into several problems with some Ruby code. It was written on a
Mac and i am trying to get it to run on my Windows box. I am using the
Win32 Ruby 1.6.8. I've done some reading around and it seems that the
problems i am seeing are caused by something i read about.
Apparently, certain blocking calls block all threads rather than just their
own thread. This is apparently the consequent of the use of pthreads.
My next step is to try the same code with cygwin ruby or linux ruby. (I
don't have a mac). I understand that both of these use better-behaved threads.
Am i on track here? Have i misunderstood something terribly? Are there
plans to change this with 1.8 or later?
Bret
_____________________________________
Bret Pettichord, Software Tester
Book - www.testinglessons.com
Consulting - www.pettichord.com
Blog - www.io.com/~wazmo/blog
Hotlist - www.testinghotlist.com
Mac and i am trying to get it to run on my Windows box. I am using the
Win32 Ruby 1.6.8. I've done some reading around and it seems that the
problems i am seeing are caused by something i read about.
Apparently, certain blocking calls block all threads rather than just their
own thread. This is apparently the consequent of the use of pthreads.
My next step is to try the same code with cygwin ruby or linux ruby. (I
don't have a mac). I understand that both of these use better-behaved threads.
Am i on track here? Have i misunderstood something terribly? Are there
plans to change this with 1.8 or later?
Bret
_____________________________________
Bret Pettichord, Software Tester
Book - www.testinglessons.com
Consulting - www.pettichord.com
Blog - www.io.com/~wazmo/blog
Hotlist - www.testinghotlist.com