From: Adam Lauper Date: 2011-05-27T08:04:57+09:00 Subject: ruby fork (thread like) on windows Hi All, I'm trying to upload a number of large files to s3. I want to do this in parallel using threads, but it looks like the s3 gems for windows aren't thread safe. I then started looking into fork. Memory/process creation time aren't a limiting factor. **** So the question is: How can I create a thread like experience using fork (or something similar). I want it to run only a subset of the entire program (ideally what's in the block) and I want to wait for it to finish. **** I tried win32/process#fork, but it runs the entire program twice. And open("|-", "r") isn't supported on windows either. Any ideas are appreciated... Adam -- Posted via http://www.ruby-forum.com/.