From: ReggW Date: 2006-05-28T12:59:46+09:00 Subject: Re: Ruby Threads... Francis Cianfrocca wrote: > You're making a very interesting point, one I've made many times: you're > saying to write cooperative multiprocess rather than multithreaded > programs. This may work well on Linux, but multiprocesses are very heavy on Windows versus multithreads. > If you take aggregate costs into account (including time-to-market and > lifecycle maintenance and support), this approach can be far better than > multithreaded because it's so much more robust and easier to do. Whether > it's as fast, however, is a highly hardware and OS-dependent question. But with multiprocess you would need to now develope a shared memory scheme (MapFiles on Windows) or something similiar if your processes need to communicate with each other. I would just prefer to have native threads and the syncronization/locks/etc available to me to do what I need to do. -- Posted via http://www.ruby-forum.com/.