[PATCH; python-imaging-sane] Py_*_ALLOW_THREADS for sane_get_devices and sane_open calls

Bug #696294 reported by Sandro Mani
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-imaging (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-imaging

Especially when detecting/accessing scanners over the network, the sane.get_devices() and sane.open() calls can block the python interpreter for a fair number of seconds.

Threads should be allowed to be able to detect devices in background without i.e. blocking a GUI application.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-imaging-sane 1.1.7-2
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Sat Jan 1 19:05:18 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: python-imaging

Revision history for this message
Sandro Mani (sandromani) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.