[Image-SIG] [python-imaging-sane] get_devices and threading
manisandro at gmail.com
Mon Dec 27 17:58:31 CET 2010
I wanted to execute sane.get_devices in a separate thread, i.e. consider
the following program:
# -*- coding: utf-8 -*-
print "Detecting devices"
The devices=sane.get_devices() call in run() for some reason pauses the
main thread during it's execution - if I switch the statement with the
two commented lines above, all works as expected. Is there any
particular reason for this behaviour?
More information about the Image-SIG