questions about multiprocessing

Vincent Ren renws1990 at gmail.com
Tue Mar 8 02:09:43 EST 2011


I'm just learning python. After changed it to a non-OOP program, it
works.
Thank you all for suggestions :)

On Mar 8, 1:38 pm, Benjamin Kaplan <benjamin.kap... at case.edu> wrote:

> Is there any particular reason you're using processes and not threads?
> Functions that wait for stuff to happen in C land, such as I/O calls,
> release the GIL so threads can be run in parallel. It's only stuff
> that happens in Python land (i.e. manipulating Python objects) that
> can't be run concurrently.




More information about the Python-list mailing list