def compress_file(self, images, showapp, verbose, imagelist):
        for image in images:
            #FIXME:http://code.google.com/p/pythonthreadpool/issues/detail?id=5
            time.sleep(0.05)
            self.threadpool.add_job(image.compress, None,
                                    return_callback=self.toDisplay.put)
        self.showapp = showapp
        self.verbose = verbose
        self.imagelist = imagelist
        self.start()
Start the worker thread.
dataset/ETHPy150Open Kilian/Trimage/src/trimage/trimage.py/Worker.compress_file