use this type  Threading :
•Thread(target=do_work,args=(work_queue,))
–Multiprocessing:
•Process(target=do_work,args=(work_queue,))

On Tue, Feb 8, 2011 at 1:54 PM, Vishal <vsapr...@gmail.com> wrote:

> Hello,
>
> This might sound crazy..and dont know if its even possible, but...
>
> 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 ?
>
> This will increase the python process size...for sure, however data sharing
> will remain just like it is in threads.
>
> 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 :))
>
> Thanks and best regards,
> Vishal Sapre
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to