From: David Masover Date: 2009-07-13T08:36:28+09:00 Subject: Re: which project should I work on? On Sunday 12 July 2009 05:41:05 pm Roger Pack wrote: > Also, can windows actually do something like > a = 3 > Thread.new { # other process } > b = 3 > > ? like shared startup state? huh? is that even possible? (just thinking > about how Python's multi process does things--it seems to allow for > something like that and I'm not sure how). Well, in your example, you used threads, and I'm not entirely sure how it's possible. Pretty much by definition, processes don't share state, threads do. There are exceptions -- shared memory, the filesystem, and other well-defined interfaces -- but languages generally don't make these things obvious. If you're wanting something like your example, you're wanting threads, and you're getting all of the concurrency issues that threads have that processes generally don't.