[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Releasing Python GIL

From: Blair Zajac <blair_at_orcaware.com>
Date: Fri, 14 Mar 2008 11:47:54 -0700

How hard would it to be to have the Python SWIG bindings release Python's GIL on
all functions? Could this be done in one place in a .i file, or would each
method need it?

I'm writing a multithreaded server that's currently in Python and don't want to
block when it descends into svn's C code. The networking part is already in C++
and handles connection setup, marshalling, etc, but just gets the GIL when it
calls into Python code. This is all with Ice. I'll handle locking wiuth

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-14 19:48:12 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.