[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: fork not available?

Austin Ziegler

9/19/2003 6:10:00 PM

On Sat, 20 Sep 2003 02:26:15 +0900, walter@mwsewall.com wrote:
> Ok so I sent this out a bit too early.
>
>
> after looking in the archives some more I see that fork and popen("- ")
> do not work with Windows. I see ri does mention that IO.popen is Not
> available on all platforms, but it does not mention this for Kernel.fork.
>
> I basically have some setup code, then would like two separate threads
> (real threads or processes, unless someone can point me in a way to get
> around the blocking issues), and then join and perform some finishing
> code.
>
> Currently the total process take about 20 hours. I want to get it so
> that it can run in less than 12 basically overnight. Do I have to split
> the parts up as separate programs and deal with the sharing of data on my
> own?
>
> any insight would be greatly appreciated.

You might want to look at taskmaster:
http://raa.ruby-lang.org/list.rhtml?name=...

With this, you could set things up so that you can run the tasks on one
computer or multiple computers.

-austin
--
austin ziegler * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2003.09.19
* 14.02.35