On Tue, 2011-02-08 at 01:39 -0800, Vishal wrote: 
> Is it possible that the Python process, creates copies of the
> interpreter for each thread that is launched, and some how the thread
> is bound to its own interpreter ?
> and it "may" also allow the two threads to run in parallel, assuming
> the processors of today can send independent instructions from the
> same process to multiple cores?
> Comments, suggestions, brush offs  are welcome :))

Yes, it is possible, and done.  See the multiprocessing module.  It
works very well.
<http://docs.python.org/library/multiprocessing.html>

It isn't exactly the same as threads, but provides many similar
constructs.

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

Reply via email to