]> git.ipfire.org Git - thirdparty/libvirt.git/commit
give up python interpreter lock before calling cb
authorDan Kenigsberg <danken@redhat.com>
Tue, 3 Nov 2009 17:42:16 +0000 (18:42 +0100)
committerDaniel Veillard <veillard@redhat.com>
Tue, 3 Nov 2009 17:42:16 +0000 (18:42 +0100)
commit9ae8fa5839e4fab14bee18f4d036f0ce78afa175
treeaa53007de571bf55320cf32508224374623c6328
parent4728bad403189ac4c4381b7542f304c51000d24b
give up python interpreter lock before calling cb

suggested by danpb on irc, patch by danken fixed for proper C syntax

* python/libvirt-override.c: on event callback release the python
  interpreter lock and take it again when coming back so that the
  callback can reinvoke libvirt.
python/libvirt-override.c