[PATCH; python-imaging-sane] Py_*_ALLOW_THREADS for sane_get_devices and sane_open calls
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
ProcVersionSign
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
tags: | added: patch |