projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af00066
)
Permit threads during rpmReadPackageFile()
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:25:59 +0000
(15:25 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 5 Oct 2009 12:25:59 +0000
(15:25 +0300)
python/rpmts-py.c
patch
|
blob
|
history
diff --git
a/python/rpmts-py.c
b/python/rpmts-py.c
index
05c8303
..
f29df78
100644
(file)
--- a/
python/rpmts-py.c
+++ b/
python/rpmts-py.c
@@
-343,7
+343,9
@@
rpmts_HdrFromFdno(rpmtsObject * s, PyObject *arg)
if (!PyArg_Parse(arg, "O&:HdrFromFdno", rpmFdFromPyObject, &fd))
return NULL;
+ Py_BEGIN_ALLOW_THREADS;
rpmrc = rpmReadPackageFile(s->ts, fd, "rpmts_HdrFromFdno", &h);
+ Py_END_ALLOW_THREADS;
Fclose(fd);
if (rpmrc == RPMRC_OK) {