From: Roger Pack Date: 2009-07-16T22:41:30+09:00 Subject: Re: which project should I work on? Dominic Sisneros wrote: > Create a package like pythons multiprocessing to make multi -process > code > easier in ruby and also to unify the programming model between windows > and > unix variants. I am quite interested in multiprocessings "A manager object returned by Manager() controls a server process which holds Python objects and allows other processes to manipulate them using proxies." I envision refitting drb so that you can do something like global_store = SharedHash.new global_store[:shared_var] = 3 global_store[:shared_var2] = 3 Process.fork { proxy = global_store[:shared_var] # drb proxy object to the '3' in the main class proxy.to_s # proxy method call with marshalling, etc. } i.e. a multi-process friendly wrapper for drb to make it "easy to use among forked children" I think this would allow for cross process mutexes (global_store[:mutex1] = Mutex.new; global_store[:mutex1].synchronize {} ) Thoughts? Would this be useful to anyone? =r -- Posted via http://www.ruby-forum.com/.