From: Austin Ziegler Date: 2003-09-20T03:10:11+09:00 Subject: Re: fork not available? 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=taskmaster 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