In article <[EMAIL PROTECTED]>,
Nick Stinemates <[EMAIL PROTECTED]> writes:
> MooJoo wrote:
> > Since I'm running each python instance in a new process, I don't believe
> > that there is a problem and, in my testing so far, I haven't encountered
> > anything that would lead me to believe there
MooJoo wrote:
> I've read that the Python interpreter is not thread-safe
Just to counter this misconception: the Python interpreter *is*
thread-safe. It's just that it won't run in parallel with itself
on multiple CPUs in a single process.
Regards,
Martin
--
http://mail.python.org/mailman/listin
En Mon, 18 Feb 2008 22:47:40 -0200, MooJoo <[EMAIL PROTECTED]>
escribió:
> I've read that the Python interpreter is not thread-safe but are there
> any issues in creating threads that create new processes (not threads)
> that run new instantiations of python? What I'm doing is subclassing the
>
MooJoo wrote:
> I've read that the Python interpreter is not thread-safe but are there
> any issues in creating threads that create new processes (not threads)
> that run new instantiations of python? What I'm doing is subclassing the
> threading.Thread and, in the run method, I'm making a call
MooJoo wrote:
> I've read that the Python interpreter is not thread-safe but are there
> any issues in creating threads that create new processes (not threads)
> that run new instantiations of python? What I'm doing is subclassing the
> threading.Thread and, in the run method, I'm making a call
I've read that the Python interpreter is not thread-safe but are there
any issues in creating threads that create new processes (not threads)
that run new instantiations of python? What I'm doing is subclassing the
threading.Thread and, in the run method, I'm making a call to os.system,
passing