Bug 997042 - python bindings: releasing thread lock for handle.perform()
Summary: python bindings: releasing thread lock for handle.perform()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-14 14:36 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version: librepo-1.0.0-1.fc19
Clone Of:
Environment:
Last Closed: 2013-09-05 01:28:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-08-14 14:36:36 UTC
Description of problem:

Librepo does not release the thread lock [1] when the IO-intensive handle.perform() is executing. This completely stalls other Python threads for the time perform() is running, causing UI freezes in threaded UI-intensive apps such as Anaconda.

[1] http://docs.python.org/2/c-api/init.html#releasing-the-gil-from-extension-code

Comment 2 Fedora Update System 2013-09-03 08:47:16 UTC
librepo-1.0.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/librepo-1.0.0-1.fc19

Comment 3 Fedora Update System 2013-09-03 22:31:52 UTC
Package librepo-1.0.0-1.fc19, dnf-0.3.11-2.git54f55e0.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing librepo-1.0.0-1.fc19 dnf-0.3.11-2.git54f55e0.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15734/dnf-0.3.11-2.git54f55e0.fc19,librepo-1.0.0-1.fc19
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-09-05 01:28:54 UTC
librepo-1.0.0-1.fc19, dnf-0.3.11-2.git54f55e0.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.