In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >Is anyone has experiance in running python code to run multi thread >parallel in multi processor. Is it possible ?
Yes. The GIL prevents multiple Python threads from running simultaneously, but C extensions can release the GIL; all I/O functions in the standard library do, so threading Python makes sense for e.g. web spiders. See the slides on my website for more info. >Can python manage which cpu shoud do every thread? Nope. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "The joy of coding Python should be in seeing short, concise, readable classes that express a lot of action in a small amount of clear code -- not in reams of trivial code that bores the reader to death." --GvR -- http://mail.python.org/mailman/listinfo/python-list