using python interpreters per thread in C++ program

I V ivlenin at gmail.com
Tue Sep 8 08:46:01 CEST 2009


On Mon, 07 Sep 2009 19:22:17 -0700, ganesh wrote:

> My application is a TCP server having multiple client connectons. C++
> PTHREADS are for each connected socket and the message received on the
> socket is evaluated by python functions. If I use only one process level

Do you have to use threads? If you use a process per connection, rather 
than a thread, each process will have its own GIL.



More information about the Python-list mailing list