diff options
author | Justus Winter <[email protected]> | 2016-09-16 10:32:24 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-09-16 13:56:47 +0000 |
commit | 6af7bee076bacbc0cdfe7de342bce43ca5671b3b (patch) | |
tree | eb6f1d9c0a6344c5b631fe23d674b8a2abc197c1 /src/status-table.c | |
parent | python: Adapt to 'gpgme_op_interact'. (diff) | |
download | gpgme-6af7bee076bacbc0cdfe7de342bce43ca5671b3b.tar.gz gpgme-6af7bee076bacbc0cdfe7de342bce43ca5671b3b.zip |
python: Release the GIL during calls into GPGME.
* lang/python/helpers.c (pyme_raise_callback_exception): Re-acquire
the Global Interpreter Lock.
(pyPassphraseCb, pyme_set_passphrase_cb, pyProgressCb,
pyme_set_progress_cb, pyStatusCb, pyme_set_status_cb,
_pyme_interact_cb, pyDataReadCb, pyDataWriteCb, pyDataSeekCb,
pyDataReleaseCb, pyme_data_new_from_cbs, _pyme_assuan_data_cb,
_pyme_assuan_inquire_cb, _pyme_assuan_status_cb): Likewise.
* lang/python/setup.py.in: Make 'gpgme-config' emit the correct
cflags, and SWIG generate code to release the GIL before calling us.
Co-authored-by: Kai Michaelis <[email protected]>
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'src/status-table.c')
0 files changed, 0 insertions, 0 deletions