On Thu, 16 Jun 2005 11:47:10 -0700, Rahul wrote:

> If you have a python script and you want that 75 copies of the script be
> run simultaneously how will you do it? Is there anyway to do so without
> running 75 copies of the python interpreter simultaneously?

If you're running on Linux (and other Unixes perhaps), you could use the
os.fork() function to create independent child processes from a single
python process. I believe Linux forked processes share memory until a
section of memory is written to (copy on write functionality).

If most of python is in a shared library, then this probably won't make
much difference.

Jeremy

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to